surface pro 4: fix compare_const_fl.cocci warnings
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci CC: Weng Xuetian <wengxt@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Darren Hart <dvhart@linux.intel.com>hifive-unleashed-5.1
parent
6d5ac6e177
commit
4bef0a27e4
|
@ -111,7 +111,7 @@ static void surface_button_notify(struct acpi_device *device, u32 event)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
input = button->input;
|
input = button->input;
|
||||||
if (KEY_RESERVED == key_code)
|
if (key_code == KEY_RESERVED)
|
||||||
return;
|
return;
|
||||||
if (pressed)
|
if (pressed)
|
||||||
pm_wakeup_event(&device->dev, 0);
|
pm_wakeup_event(&device->dev, 0);
|
||||||
|
|
Loading…
Reference in New Issue