diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-09 01:49:14 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-09-19 06:30:05 -0400 |
commit | 5a7bbe86b0b99b1075b97d812946a84ed5fda9ff (patch) | |
tree | c8d517435eae3455fc1c47b28eab475d92636bd7 /drivers/video/au1100fb.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) |
video: au1100fb: Remove casting the return value which is a void pointer
Casting the return value which is a void pointer is redundant.
The conversion from void pointer to any other pointer type is
guaranteed by the C programming language.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/au1100fb.c')
-rw-r--r-- | drivers/video/au1100fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index a54ccdc4d661..248abd50ca25 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c | |||
@@ -588,7 +588,7 @@ int au1100fb_drv_remove(struct platform_device *dev) | |||
588 | if (!dev) | 588 | if (!dev) |
589 | return -ENODEV; | 589 | return -ENODEV; |
590 | 590 | ||
591 | fbdev = (struct au1100fb_device *) platform_get_drvdata(dev); | 591 | fbdev = platform_get_drvdata(dev); |
592 | 592 | ||
593 | #if !defined(CONFIG_FRAMEBUFFER_CONSOLE) && defined(CONFIG_LOGO) | 593 | #if !defined(CONFIG_FRAMEBUFFER_CONSOLE) && defined(CONFIG_LOGO) |
594 | au1100fb_fb_blank(VESA_POWERDOWN, &fbdev->info); | 594 | au1100fb_fb_blank(VESA_POWERDOWN, &fbdev->info); |