[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbEuuy62h+szbyFiFkFBiHx21oSDYBMtkzWkv7PJ32+xQ@mail.gmail.com>
Date: Fri, 19 Apr 2013 15:47:48 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Linus Walleij <linus.walleij@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Anmar Oueja <anmar.oueja@...aro.org>,
Stephen Warren <swarren@...dia.com>,
Laurent Meunier <laurent.meunier@...com>
Subject: Re: [PATCH v3] pinctrl/pinconfig: add debug interface
On Thu, Apr 18, 2013 at 12:52 PM, Russell King - ARM Linux
<linux@....linux.org.uk> wrote:
> On Thu, Apr 18, 2013 at 12:35:14PM +0200, Linus Walleij wrote:
>> + if (map->type != dbg->map_type)
>> + continue;
>> + if (!!strcmp(map->dev_name, dbg->dev_name))
>
> !! is pointless in this context - if() evaluates any non-zero value as
> true, so there's no point making the code more complicated by trying to
> convert it to a false/true value first.
I fixed this up and applied it since there are no further comments.
Thanks!
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