From: Andy Shevchenko Date: Wed, 10 Jul 2013 11:55:40 +0000 (+0300) Subject: pinctrl-baytrail: fix to avoid sparse warnings X-Git-Tag: v3.12-rc1~151^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=496940c10278599528cfbde0e05208bf4ef0c7c0;p=pandora-kernel.git pinctrl-baytrail: fix to avoid sparse warnings There are couple of sparse warnings we could avoid if we use a bit verbose version of the code in byt_gpio_direction_output(). drivers/pinctrl/pinctrl-baytrail.c:266:45: warning: dubious: x | !y drivers/pinctrl/pinctrl-baytrail.c:267:36: warning: dubious: x | !y Additionally simplify a bit the code in byt_gpio_direction_input(). Signed-off-by: Andy Shevchenko Reviewed-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed