[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZowZtF45hPMhvBrVmurRnTO32znwjKpjDUY22hWhQDLw@mail.gmail.com>
Date: Mon, 22 Jul 2013 22:51:41 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>
Subject: Re: [PATCH 5/5] pinctrl-baytrail: fix to avoid sparse warnings
On Wed, Jul 10, 2013 at 1:55 PM, Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> 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@...ux.intel.com>
Patch applied.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists