Re: [PATCH 2/2] pinctrl: mediatek: Fix pinctrl register irq fail bug.

From: Linus Walleij
Date: Tue Jun 02 2015 - 05:09:03 EST


On Wed, May 27, 2015 at 11:43 AM, Hongzhou Yang
<hongzhou.yang@xxxxxxxxxxxx> wrote:

> Since mt6397 is no need to support interrupt controller,
> I judged "interrupt-controller" property to skip it last patch.
> But the if judgement should on the contrary, this is a bug.
>
> And find of_property_read_bool is better for this case.
> So using of_property_read_bool instead of of_find_property.
>
> Also fix bug of misuse pointer.
>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>

Patch applied with Axel's review tag.

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/