From: Felipe Balbi Date: Thu, 6 Sep 2012 12:45:20 +0000 (+0300) Subject: serial: omap: don't access the platform_device X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8ee4ea68ff9c0f13646070aeada668a4eae9189;p=pandora-kernel.git 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 Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed