Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo

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>

authored by

Arnd Bergmann and committed by
Dmitry Torokhov
ac8810d2 47e79d31

+2 -2
+2 -2
drivers/input/touchscreen/ipaq-micro-ts.c
··· 143 143 return 0; 144 144 } 145 145 146 - static DEFINE_SIMPLE_DEV_PM(micro_ts_dev_pm_ops, 147 - micro_ts_suspend, micro_ts_resume); 146 + static DEFINE_SIMPLE_DEV_PM_OPS(micro_ts_dev_pm_ops, 147 + micro_ts_suspend, micro_ts_resume); 148 148 149 149 static struct platform_driver micro_ts_device_driver = { 150 150 .driver = {