summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap/lcd_h3.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2017-01-30 17:39:49 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-01-30 17:39:49 +0100
commit0ed711168a2079ae4a0935638ef8d0e314c261b0 (patch)
tree51890069d1ece2098a522c6607bf1da267602467 /drivers/video/fbdev/omap/lcd_h3.c
parent0a9aae40a6762fb509bc6b6b8f08ac83ab428a11 (diff)
downloadtalos-op-linux-0ed711168a2079ae4a0935638ef8d0e314c261b0.tar.gz
talos-op-linux-0ed711168a2079ae4a0935638ef8d0e314c261b0.zip
fbdev: omap/lcd: Remove no-op driver callbacks
Every single one of the OMAP fbdev LCD drivers implements no-op remove, suspend and resume callbacks for their platform_driver. This is not necessary as the driver core handles the case where the callbacks are not set just fine. So they are just unnecessary boilerplate that can be removed. Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/omap/lcd_h3.c')
-rw-r--r--drivers/video/fbdev/omap/lcd_h3.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/video/fbdev/omap/lcd_h3.c b/drivers/video/fbdev/omap/lcd_h3.c
index 21512b027ff7..a38af2faba37 100644
--- a/drivers/video/fbdev/omap/lcd_h3.c
+++ b/drivers/video/fbdev/omap/lcd_h3.c
@@ -98,26 +98,8 @@ static int h3_panel_probe(struct platform_device *pdev)
return 0;
}
-static int h3_panel_remove(struct platform_device *pdev)
-{
- return 0;
-}
-
-static int h3_panel_suspend(struct platform_device *pdev, pm_message_t mesg)
-{
- return 0;
-}
-
-static int h3_panel_resume(struct platform_device *pdev)
-{
- return 0;
-}
-
static struct platform_driver h3_panel_driver = {
.probe = h3_panel_probe,
- .remove = h3_panel_remove,
- .suspend = h3_panel_suspend,
- .resume = h3_panel_resume,
.driver = {
.name = "lcd_h3",
},
OpenPOWER on IntegriCloud