Message ID | 20180816064602.GA94754@cairo (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Input: fix boolreturn.cocci warnings | expand |
--- a/drivers/input/misc/da7280.c +++ b/drivers/input/misc/da7280.c @@ -113,9 +113,9 @@ static bool da7280_volatile_register(str case DA7280_IRQ_EVENT_SEQ_DIAG: case DA7280_IRQ_STATUS1: case DA7280_TOP_CTL1: - return 1; + return true; default: - return 0; + return false; } }