Skip to content
Snippets Groups Projects
user avatar
Michal Simek authored
Driver core clears the driver data to NULL after device_release or on
probe failure, so just remove it from here.

The relevant driver core change was commit 0998d063 ("device-core:
Ensure drvdata = NULL when no driver is bound").

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
a2726061
History
Name Last commit Last update