Skip to content

Commit 38f4a25

Browse files
committed
input: macsmc-input: Prefer true as boolean literal
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent c737ad7 commit 38f4a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/misc/macsmc-input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static int macsmc_input_probe(struct platform_device *pdev)
170170
smcin->nb.notifier_call = macsmc_input_event;
171171
blocking_notifier_chain_register(&smc->event_handlers, &smcin->nb);
172172

173-
device_init_wakeup(&pdev->dev, 1);
173+
device_init_wakeup(&pdev->dev, true);
174174

175175
return 0;
176176
}

0 commit comments

Comments
 (0)