pinctrl: sh-pfc: remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 02:00:55 +0000 (11:00 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 28 Aug 2013 19:14:37 +0000 (21:14 +0200)
commitdb8ed174295f33e7c3441557a0caf296399ddea5
tree7aeed6dd23febc28e744ed2be8fa3fa496d71d94
parent608a26a7bc04a39cfd7041f31ca2b2100113d14e
pinctrl: sh-pfc: remove unnecessary platform_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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/core.c