diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-13 19:23:57 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-02-03 00:48:20 +0300 |
commit | 72d42499fba913aaf34bace576892883912da3bc (patch) | |
tree | e1765249f07a87cf186c43dda1b16af4fe60c5be /drivers/platform/x86/acerhdf.c | |
parent | eecf2acd4a580e9364e5087daf0effca60a240b7 (diff) | |
download | linux-72d42499fba913aaf34bace576892883912da3bc.tar.xz |
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>
Diffstat (limited to 'drivers/platform/x86/acerhdf.c')
-rw-r--r-- | drivers/platform/x86/acerhdf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index d2c0fc38c201..ed49393d22ed 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c @@ -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 */ |