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

2012-10-25 Thread Santosh Shilimkar
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 --- Acked-by: San

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

2012-10-25 Thread Felipe Balbi
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 --- drivers/i2c/busses/i2c-omap.c | 6 ++ 1 file changed, 2 insertions(+)