aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/aspeed-g6-pwm-tach.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/aspeed-g6-pwm-tach.c')
-rw-r--r--drivers/hwmon/aspeed-g6-pwm-tach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/aspeed-g6-pwm-tach.c b/drivers/hwmon/aspeed-g6-pwm-tach.c
index 75eadda738ab..4174b129d1fc 100644
--- a/drivers/hwmon/aspeed-g6-pwm-tach.c
+++ b/drivers/hwmon/aspeed-g6-pwm-tach.c
@@ -534,7 +534,7 @@ MODULE_DEVICE_TABLE(of, aspeed_pwm_tach_match);
static struct platform_driver aspeed_pwm_tach_driver = {
.probe = aspeed_pwm_tach_probe,
- .remove_new = aspeed_pwm_tach_remove,
+ .remove = aspeed_pwm_tach_remove,
.driver = {
.name = "aspeed-g6-pwm-tach",
.of_match_table = aspeed_pwm_tach_match,