summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/core.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-07-10 14:55:40 +0300
committerLinus Walleij <linus.walleij@linaro.org>2013-07-23 01:23:27 +0200
commit496940c10278599528cfbde0e05208bf4ef0c7c0 (patch)
tree46e30538c372f5d1e335c6096b0bfb12e61f258a /drivers/pinctrl/core.c
parent17e52464292320d0de260b146605d93326a9014c (diff)
downloadlwn-496940c10278599528cfbde0e05208bf4ef0c7c0.tar.gz
lwn-496940c10278599528cfbde0e05208bf4ef0c7c0.zip
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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions