diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2014-10-24 10:29:57 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-30 10:59:51 -0400 |
commit | bd1dbc3b9d20f9fe43d7b06848fc821bc88124c3 (patch) | |
tree | e7f2433460d0e65828fb27a6a1d9cf2419137a65 /drivers/gpio/gpio-ks8695.c | |
parent | e3a2e87893125bcd99bd7e1ddf9bfc421e492572 (diff) |
gpio: msm-v1: Fix typo in function argument
irq_set_irq_wake() treats its second argument as a boolean. It is much
easier to read code when constant booleans are either 0 or 1!
This particular line of code distracted me somewhat when I was doing a bit of
work in a code browser since it (spuriously) got me worried that I had
misunderstood how irq_set_irq_wake() worked.
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ks8695.c')
0 files changed, 0 insertions, 0 deletions