Re: [PATCH 5/5] pinctrl-baytrail: fix to avoid sparse warnings
From: Linus Walleij
Date: Mon Jul 22 2013 - 16:51:47 EST
On Wed, Jul 10, 2013 at 1:55 PM, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/