video: pxa3xx-gcu: pass around struct device *
authorDaniel Mack <zonque@gmail.com>
Wed, 5 Mar 2014 16:12:47 +0000 (17:12 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Mar 2014 13:04:45 +0000 (15:04 +0200)
Instead of passing around struct platform_device, use struct device.
That saves one level of dereference. Also, call platform devices pdev,
and provide a shortcut for &pdev->dev.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/pxa3xx-gcu.c

Simple merge