summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/lenovo-yogabook.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/lenovo-yogabook.c')
-rw-r--r--drivers/platform/x86/lenovo-yogabook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/lenovo-yogabook.c b/drivers/platform/x86/lenovo-yogabook.c
index fd62bf746ebd..31b298dc5046 100644
--- a/drivers/platform/x86/lenovo-yogabook.c
+++ b/drivers/platform/x86/lenovo-yogabook.c
@@ -536,7 +536,7 @@ static void yogabook_pdev_remove(struct platform_device *pdev)
static struct platform_driver yogabook_pdev_driver = {
.probe = yogabook_pdev_probe,
- .remove_new = yogabook_pdev_remove,
+ .remove = yogabook_pdev_remove,
.driver = {
.name = YB_PDEV_NAME,
.pm = pm_sleep_ptr(&yogabook_pm_ops),