]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo
authorArnd Bergmann <arnd@arndb.de>
Tue, 17 Jan 2023 16:45:33 +0000 (17:45 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Jan 2023 22:52:06 +0000 (14:52 -0800)
The previous change was not properly build tested and needs
a trivial spelling change:

ipaq-micro-ts.c:146:8: error: type defaults to 'int' in declaration of 'DEFINE_SIMPLE_DEV_PM' [-Werror=implicit-int]

Fixes: 144ff5e03d74 ("Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20230117164539.1631336-1-arnd@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ipaq-micro-ts.c

index d8e25b502968af45236b58201e27f471d2ee481e..94720c41c9be2f223f1c579365f041d3f1e5af9e 100644 (file)
@@ -143,8 +143,8 @@ static int micro_ts_resume(struct device *dev)
        return 0;
 }
 
-static DEFINE_SIMPLE_DEV_PM(micro_ts_dev_pm_ops,
-                           micro_ts_suspend, micro_ts_resume);
+static DEFINE_SIMPLE_DEV_PM_OPS(micro_ts_dev_pm_ops,
+                               micro_ts_suspend, micro_ts_resume);
 
 static struct platform_driver micro_ts_device_driver = {
        .driver = {