]> Git Repo - linux.git/commit
gpio: vx855: remove unnecessary platform_set_drvdata()
authorJingoo Han <[email protected]>
Mon, 6 May 2013 03:36:51 +0000 (12:36 +0900)
committerLinus Walleij <[email protected]>
Thu, 30 May 2013 17:20:21 +0000 (19:20 +0200)
commit1cdd8d52ecbedbce1cbac063aa5715810a228ab3
treebc487b8994a44dd813dbf2cf46616595f412a6f5
parent752057e5ba87876b9d1126272e886c6a1a6234d0
gpio: vx855: remove unnecessary platform_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
drivers/gpio/gpio-vx855.c
This page took 0.0577800000000001 seconds and 4 git commands to generate.