hwmon: (k10temp) remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:46:39 +0000 (15:46 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 12 Sep 2013 15:17:40 +0000 (08:17 -0700)
commit0b77f766f3ef9875e2bb0035c9b89b4f9469b78d
tree1da83e1a303b2728ed5585d4c887959bf6039dd2
parent010a166a5202f6297e196624a0671c4815032e38
hwmon: (k10temp) 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>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c