lkml.org 
[lkml]   [2013]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio-lynxpoint: remove unnecessary platform_set_drvdata()
From
On Wed, May 22, 2013 at 12:30 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

I already had a patch from Jingoo Han for this in my patch queue,
so dropped this patch.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-05-30 21:21    [W:0.039 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site