Commit 02fbd8bc61add7407b6d59db53b23a8d59ef2e2d
Committed by
Greg Kroah-Hartman
1 parent
d9f2f13d2a
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
USB: ehci-sh: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff