Re: [PATCH 1/2] pinctrl: core: Remove unnecessary test for desc->name

From: Linus Walleij
Date: Wed Aug 21 2013 - 17:31:31 EST


On Mon, Aug 19, 2013 at 4:06 AM, Axel Lin <axel.lin@xxxxxxxxxx> wrote:

> The implementation in pinctrl_register_one_pin() ensures pindesc->name is always
> not NULL before insert the pindesc to radix tree.
> If the desc return from pin_desc_get is not NULL, desc->name is always not NULL.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Good point. 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/