[PATCH v3 03/23] serial: omap: don't access the platform_device
Tony Lindgren
tony at atomide.com
Fri Aug 24 15:07:33 EDT 2012
* Felipe Balbi <balbi at ti.com> [120823 03:37]:
> The driver doesn't need to know about its platform_device.
>
> Everything the driver needs can be done through the
> struct device pointer. In case we need to use the
> OMAP-specific PM function pointers, those can make
> sure to find the device's platform_device pointer
> so they can find the struct omap_device through
> pdev->archdata field.
>
> Tested-by: Shubhrajyoti D <shubhrajyoti at ti.com>
> Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
> Signed-off-by: Felipe Balbi <balbi at ti.com>
Acked-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel
mailing list