mfd: sm501: Remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:43:07 +0000 (15:43 +0900)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:20:54 +0000 (16:20 +0100)
commit928dfb2c750da3e1db181742198da4d9026012b0
tree29cec40033f179e2963557cd54aa3dc71b0d60d2
parent1fcd5d815e12eafa7304f1dd39900eaa332085eb
mfd: sm501: Remove unnecessary pci_set_drvdata()

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.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sm501.c