diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-20 12:08:52 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-26 11:47:14 +0300 |
commit | f767f7acee328933be4e7936a2115560f44846d5 (patch) | |
tree | 933f7df726e0a7e295b5baa12c06d4e475781f50 /drivers/video/backlight/l4f00242t03.c | |
parent | 62a83183c477759363b2228e6b64c17593d9e4be (diff) | |
download | op-kernel-dev-f767f7acee328933be4e7936a2115560f44846d5.zip op-kernel-dev-f767f7acee328933be4e7936a2115560f44846d5.tar.gz |
backlight: l4f00242t03: Remove redundant spi_set_drvdata
Driver core sets driver data to NULL upon failure or remove.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/backlight/l4f00242t03.c')
-rw-r--r-- | drivers/video/backlight/l4f00242t03.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c index a35a38c..59eebe0 100644 --- a/drivers/video/backlight/l4f00242t03.c +++ b/drivers/video/backlight/l4f00242t03.c @@ -244,7 +244,6 @@ static int l4f00242t03_remove(struct spi_device *spi) l4f00242t03_lcd_power_set(priv->ld, FB_BLANK_POWERDOWN); lcd_device_unregister(priv->ld); - spi_set_drvdata(spi, NULL); return 0; } |