summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2014-10-24 15:29:57 +0100
committerJiri Kosina <jkosina@suse.cz>2014-10-29 14:46:21 +0100
commit5887010040c9ff4c5d41781075f64116f5f1c781 (patch)
treedb85a5ad3ff609bb74ae0ae4ce95a169b26dd577 /kernel/sysctl_binary.c
parent8b648f13b4daa6c713691935aef7e64a7ff09a86 (diff)
gpio: msm-v1: make boolean argument more obvious
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> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> [jkosina@suse.cz: alter subject to be more descriptive] Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions