On 09/03/2014 07:51 AM, Daniel Thompson wrote:
Universally adopt container_of() for all pointer conversion from uart_port to uart_amba_port.
Thanks.
Reviewed-by: Peter Hurley peter@hurleysoftware.com
Signed-off-by: Daniel Thompson daniel.thompson@linaro.org Cc: Peter Hurley peter@hurleysoftware.com Cc: Russell King linux@arm.linux.org.uk Cc: Greg Kroah-Hartman gregkh@linuxfoundation.org Cc: Jiri Slaby jslaby@suse.cz Cc: linux-serial@vger.kernel.org
Notes: This patch was written after a review comment made by Peter Hurley in response to code that is no longer needed. However I'd already written it before I realized the code was no longer needed and it still appears to be a sensible, if rather minor, bit of modernization.
drivers/tty/serial/amba-pl011.c | 54 +++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 18 deletions(-)