mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 02:33:57 +00:00
pinctrl: da850-pupd: 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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20221213182125.929303-1-u.kleine-koenig@pengutronix.de Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
df72b4a692
commit
b7f44e1249
@ -173,11 +173,6 @@ static int da850_pupd_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int da850_pupd_remove(struct platform_device *pdev)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static const struct of_device_id da850_pupd_of_match[] = {
|
static const struct of_device_id da850_pupd_of_match[] = {
|
||||||
{ .compatible = "ti,da850-pupd" },
|
{ .compatible = "ti,da850-pupd" },
|
||||||
{ }
|
{ }
|
||||||
@ -190,7 +185,6 @@ static struct platform_driver da850_pupd_driver = {
|
|||||||
.of_match_table = da850_pupd_of_match,
|
.of_match_table = da850_pupd_of_match,
|
||||||
},
|
},
|
||||||
.probe = da850_pupd_probe,
|
.probe = da850_pupd_probe,
|
||||||
.remove = da850_pupd_remove,
|
|
||||||
};
|
};
|
||||||
module_platform_driver(da850_pupd_driver);
|
module_platform_driver(da850_pupd_driver);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user