RE: [PATCH] gpio: pxa: normalize the return value for gpio_get

From: Neil Zhang
Date: Wed Jan 15 2014 - 03:26:54 EST



> -----Original Message-----
> From: Linus Walleij [mailto:linus.walleij@xxxxxxxxxx]
> Sent: 2014年1月15日 15:58
> To: Neil Zhang
> Cc: Alexandre Courbot; linux-gpio@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] gpio: pxa: normalize the return value for gpio_get
>
> On Fri, Jan 10, 2014 at 7:03 AM, Neil Zhang <zhangwm@xxxxxxxxxxx> wrote:
>
> > It would be convenient to normalize the return value for gpio_get.
> >
> > I have checked mach-mmp / mach-pxa / plat-pxa / plat-orion / mach-orion5x.
> > It's OK for all of them to change this function to return 0 and 1.
> >
> > Signed-off-by: Neil Zhang <zhangwm@xxxxxxxxxxx>
>
> Bah I updated the commit message a bit ... you dropped the
> gpio: pxa: etc from the previous patch, not good but don't worry I fixed it up.
>
Thanks!

> Yours,
> Linus Walleij

Best Regards,
Neil Zhang
N?叉??y??b??千v??藓{.n???{?赙zXФ?塄}?财??j:+v???赙zZ+€?zf"?????i????ア??璀??撷f?^j谦y??@A?囤?0鹅h??i