]> git.karo-electronics.de Git - linux-beck.git/commit
staging: iio: spear_adc: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 6 Jun 2013 09:27:00 +0000 (10:27 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 6 Jun 2013 18:47:18 +0000 (19:47 +0100)
commita4cac959042e6eaf41cc08d11162cbda4e438aac
treef14dfd3afa1b335dd6890265775a0f22f7a0ea96
parentd0695f4ece30b612ed67b8960fd79deab4c9dae9
staging: iio: spear_adc: Remove redundant platform_set_drvdata()

Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/spear_adc.c