diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-12-17 16:00:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:16 -0800 |
commit | 3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b (patch) | |
tree | 640837411f88c0ce6e7fe80d7c7e8bb6f8c19008 | |
parent | 3fd00432df3c4ae3c54a10360634f6d3a4a787c4 (diff) | |
download | linux-3.10-3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b.tar.gz linux-3.10-3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b.tar.bz2 linux-3.10-3c48d1f2539cf3a42adc5fe4f77950eeb28bef3b.zip |
drivers/video/backlight/s6e63m0.c: remove unnecessary cast of void pointer
Remove unnecessary cast of void pointer for platform data in probe
function.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/video/backlight/s6e63m0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c index 484e10dd1a8..3e1c1135f6d 100644 --- a/drivers/video/backlight/s6e63m0.c +++ b/drivers/video/backlight/s6e63m0.c @@ -757,7 +757,7 @@ static int s6e63m0_probe(struct spi_device *spi) lcd->spi = spi; lcd->dev = &spi->dev; - lcd->lcd_pd = (struct lcd_platform_data *)spi->dev.platform_data; + lcd->lcd_pd = spi->dev.platform_data; if (!lcd->lcd_pd) { dev_err(&spi->dev, "platform data is NULL.\n"); return -EFAULT; |