Jingoo Han
113a87f868
mmc: remove unnecessary platform_set_drvdata()
...
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06310
(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 >
Acked-by: Sonic Zhang <sonic.zhang@analog.com >
Acked-by: Seungwon Jeon <tgih.jun@samsung.com >
Acked-by: Shawn Guo <shawn.guo@linaro.org >
Acked-by: Adrian Hunter <adrian.hunter@intel.com >
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com >
Acked-by: Jaehoon Chung <jh80.chung@samsung.com >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org >
Acked-by: Tony Prisk <linux@prisktech.co.nz >
Signed-off-by: Chris Ball <cjb@laptop.org >
2013-05-26 14:23:23 -04:00