From: Daniel Thompson Date: Fri, 24 Oct 2014 14:29:57 +0000 (+0100) Subject: gpio: msm-v1: make boolean argument more obvious X-Git-Tag: omap-for-v3.19/fixes-rc1~113^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5887010040c9ff4c5d41781075f64116f5f1c781;p=pandora-kernel.git 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 Cc: Linus Walleij Cc: Alexandre Courbot Reviewed-by: Alexandre Courbot [jkosina@suse.cz: alter subject to be more descriptive] Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed