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>
This commit is contained in:
Lars-Peter Clausen
2017-01-30 17:39:49 +01:00
committed by Bartlomiej Zolnierkiewicz
parent 0a9aae40a6
commit 0ed711168a
9 changed files with 0 additions and 167 deletions

View File

@@ -88,27 +88,8 @@ static int htcherald_panel_probe(struct platform_device *pdev)
return 0;
}
static int htcherald_panel_remove(struct platform_device *pdev)
{
return 0;
}
static int htcherald_panel_suspend(struct platform_device *pdev,
pm_message_t mesg)
{
return 0;
}
static int htcherald_panel_resume(struct platform_device *pdev)
{
return 0;
}
static struct platform_driver htcherald_panel_driver = {
.probe = htcherald_panel_probe,
.remove = htcherald_panel_remove,
.suspend = htcherald_panel_suspend,
.resume = htcherald_panel_resume,
.driver = {
.name = "lcd_htcherald",
},