Commit eb78ca6a authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mauro Carvalho Chehab

media: ti/davinci: vpbe_osd: Drop empty platform remove function

A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarLad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 25e7b6c0
......@@ -1561,14 +1561,8 @@ static int osd_probe(struct platform_device *pdev)
return 0;
}
static int osd_remove(struct platform_device *pdev)
{
return 0;
}
static struct platform_driver osd_driver = {
.probe = osd_probe,
.remove = osd_remove,
.driver = {
.name = MODULE_NAME,
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment