Searched hist:"970691 ebf02b6437cdca86402e05155fef709452" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-mv.c | diff 970691ebf02b6437cdca86402e05155fef709452 Mon May 06 05:05:54 CDT 2013 Jingoo Han <jg1.han@samsung.com> USB: ehci-mv: 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>
|