diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-06 15:45:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 09:17:00 -0700 |
commit | d8ee4ea68ff9c0f13646070aeada668a4eae9189 (patch) | |
tree | 92f05de31dc45bb4e5f799f5d4b0fa59b475def1 /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | 27788c5fe6af98c34950326b62778da15e30eb55 (diff) |
serial: omap: don't access the platform_device
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@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
0 files changed, 0 insertions, 0 deletions