gpio: bt8xx: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 12 Sep 2013 06:48:28 +0000 (15:48 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Sep 2013 18:43:09 +0000 (20:43 +0200)
commit6316a4d34f6dd832cf9d84b654d0753f3000d3da
treeab57f6f9a7bad537bebcc76a5bb38a74ab519833
parentd9cadcc92a476b8dd5c301ebdea36a6459706465
gpio: bt8xx: 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: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bt8xx.c