[PATCH] memstick: host: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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 --- drivers/memstick/host/rtsx_pci_ms.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH] memstick: host: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
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 jg1@samsung.com --- drivers/memstick/host/rtsx_pci_ms.c |2 -- 1 file changed, 2 deletions(-) diff