Skip to content

Commit 5af9f79

Browse files
committed
Input: pm8941-pwrkey - fix comma vs semicolon issue
There is absolutely no reason to use comma operator in this code, 2 separate statements make much more sense. Reviewed-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/YPsa1qCBn/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 76ba190 commit 5af9f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/misc/pm8941-pwrkey.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static int pm8941_pwrkey_probe(struct platform_device *pdev)
284284
}
285285

286286
if (pwrkey->data->supports_ps_hold_poff_config) {
287-
pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify,
287+
pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify;
288288
error = register_reboot_notifier(&pwrkey->reboot_notifier);
289289
if (error) {
290290
dev_err(&pdev->dev, "failed to register reboot notifier: %d\n",

0 commit comments

Comments
 (0)