[PATCH 08/13] tty: serial: omap: switch over to platform_get_resource

2014-04-23 Thread Felipe Balbi
this way we can remove one pointer declaration. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/tty/serial/omap-serial.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 3813740..cb45e88

Re: [PATCH 08/13] tty: serial: omap: switch over to platform_get_resource

2014-04-23 Thread Fabio Estevam
On Wed, Apr 23, 2014 at 11:58 AM, Felipe Balbi ba...@ti.com wrote: @@ -1658,12 +1657,9 @@ static int serial_omap_probe(struct platform_device *pdev) omap_up_info = of_get_uart_port_info(pdev-dev); pdev-dev.platform_data = omap_up_info; } else { -

Re: [PATCH 08/13] tty: serial: omap: switch over to platform_get_resource

2014-04-23 Thread Felipe Balbi
On Wed, Apr 23, 2014 at 12:27:59PM -0300, Fabio Estevam wrote: On Wed, Apr 23, 2014 at 11:58 AM, Felipe Balbi ba...@ti.com wrote: @@ -1658,12 +1657,9 @@ static int serial_omap_probe(struct platform_device *pdev) omap_up_info = of_get_uart_port_info(pdev-dev);