mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
platform/x86: acerhdf: 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> Acked-by: Peter Kaestle <peter@piie.net> Link: https://lore.kernel.org/r/20221213162359.651529-2-u.kleine-koenig@pengutronix.de Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
eecf2acd4a
commit
72d42499fb
1 changed files with 0 additions and 6 deletions
|
@ -565,11 +565,6 @@ static int acerhdf_probe(struct platform_device *device)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int acerhdf_remove(struct platform_device *device)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops acerhdf_pm_ops = {
|
||||
.suspend = acerhdf_suspend,
|
||||
.freeze = acerhdf_suspend,
|
||||
|
@ -581,7 +576,6 @@ static struct platform_driver acerhdf_driver = {
|
|||
.pm = &acerhdf_pm_ops,
|
||||
},
|
||||
.probe = acerhdf_probe,
|
||||
.remove = acerhdf_remove,
|
||||
};
|
||||
|
||||
/* check hardware */
|
||||
|
|
Loading…
Reference in a new issue