[PATCH v2 1/7] i2c: omap: no need to access platform_device

Santosh Shilimkar santosh.shilimkar at ti.com
Thu Oct 25 08:41:51 EDT 2012


On Thursday 25 October 2012 05:55 PM, Felipe Balbi wrote:
> PM callbacks pass our device pointer as argument
> and we don't need to access the platform_device
> just to dereference that down to dev->drvdata.
>
> instead, just use dev_get_drvdata() directly.
>
> Signed-off-by: Felipe Balbi <balbi at ti.com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>



More information about the linux-arm-kernel mailing list