summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 08:38:52 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 10:47:14 +0200
commitf767f7acee328933be4e7936a2115560f44846d5 (patch)
tree933f7df726e0a7e295b5baa12c06d4e475781f50 /drivers
parentOMAPDSS: DISPC: Fix assignment of 0/1 to bool variables (diff)
downloadlinux-f767f7acee328933be4e7936a2115560f44846d5.tar.xz
linux-f767f7acee328933be4e7936a2115560f44846d5.zip
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')
-rw-r--r--drivers/video/backlight/l4f00242t03.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c
index a35a38c709cf..59eebe0b3846 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;
}