[PATCH v3 03/23] serial: omap: don't access the platform_device
From: tony@atomide.com (Tony Lindgren)
Date: 2012-08-24 21:26:07
Also in:
linux-omap, linux-serial, lkml
From: tony@atomide.com (Tony Lindgren)
Date: 2012-08-24 21:26:07
Also in:
linux-omap, linux-serial, lkml
* Felipe Balbi [off-list ref] [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 <redacted> Acked-by: Santosh Shilimkar <redacted> Signed-off-by: Felipe Balbi <redacted>
Acked-by: Tony Lindgren <tony@atomide.com>