Commit ac8810d2 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Dmitry Torokhov

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: 144ff5e0 ("Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20230117164539.1631336-1-arnd@kernel.orgSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 47e79d31
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment