Re: [PATCH] gpio-lynxpoint: remove unnecessary platform_set_drvdata()

2013-05-30 Thread Linus Walleij
On Wed, May 22, 2013 at 12:30 PM, Andy Shevchenko wrote: > Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound", > this is done by driver core after device_release or on probe failure. Thus we > can remove all platform_set_drvdata(pdev, NULL) in drivers. > > Signed-off-by

Re: [PATCH] gpio-lynxpoint: remove unnecessary platform_set_drvdata()

2013-05-23 Thread Mika Westerberg
On Wed, May 22, 2013 at 01:30:46PM +0300, Andy Shevchenko wrote: > Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound", > this is done by driver core after device_release or on probe failure. Thus we > can remove all platform_set_drvdata(pdev, NULL) in drivers. > > Signed

[PATCH] gpio-lynxpoint: remove unnecessary platform_set_drvdata()

2013-05-22 Thread Andy Shevchenko
Since 0998d06310 "device-core: Ensure drvdata = NULL when no driver is bound", this is done by driver core after device_release or on probe failure. Thus we can remove all platform_set_drvdata(pdev, NULL) in drivers. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-lynxpoint.c | 2 +- 1 file