Re: [PATCH 3.17-rc3] serial: amba-pl011: Use container_of() to get uart_amba_port

From: Peter Hurley
Date: Thu Sep 11 2014 - 07:25:40 EST


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@xxxxxxxxxxxxxxxxxx>

> Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> Cc: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Jiri Slaby <jslaby@xxxxxxx>
> Cc: linux-serial@xxxxxxxxxxxxxxx
> ---
>
> 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(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/