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

V4L/DVB (13604): vpss: move vpss_remove to .devexit

The function vpss_remove is used only wrapped by __devexit_p so define
it using __devexit.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0a25f3b2
...@@ -268,7 +268,7 @@ static int __init vpss_probe(struct platform_device *pdev) ...@@ -268,7 +268,7 @@ static int __init vpss_probe(struct platform_device *pdev)
return status; return status;
} }
static int vpss_remove(struct platform_device *pdev) static int __devexit vpss_remove(struct platform_device *pdev)
{ {
iounmap(oper_cfg.vpss_bl_regs_base); iounmap(oper_cfg.vpss_bl_regs_base);
release_mem_region(oper_cfg.r1->start, oper_cfg.len1); release_mem_region(oper_cfg.r1->start, oper_cfg.len1);
......
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