Skip to content

Commit ac8810d

Browse files
arndbdtor
authored andcommitted
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: 144ff5e ("Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 47e79d3 commit ac8810d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/touchscreen/ipaq-micro-ts.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ static int micro_ts_resume(struct device *dev)
143143
return 0;
144144
}
145145

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);
148148

149149
static struct platform_driver micro_ts_device_driver = {
150150
.driver = {

0 commit comments

Comments
 (0)