mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
Since commit 0998d06310
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.
Signed-off-by: Jingoo Han <[email protected]>
Cc: James Bottomley <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>