Re: [PATCH 2/3] drivers: gpio: msm: Fix the error condition forreading ngpio

From: Pankaj Jangra
Date: Wed Jun 19 2013 - 11:50:52 EST


Hi,


On Wed, Jun 19, 2013 at 7:23 AM, Rohit Vaswani <rvaswani@xxxxxxxxxxxxxx> wrote:
>
> of_property_read_u32 return 0 on success. The check was using a ! to
> return error. Fix the if condition.
>
> Signed-off-by: Rohit Vaswani <rvaswani@xxxxxxxxxxxxxx>
> ---
> drivers/gpio/gpio-msm-v2.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Appropriate change.

Reviewed-by: Pankaj Jangra <jangra.pankaj9@xxxxxxxxx>

Regards,
Pankaj Jangra
--
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/