RE: [PATCH] gpio: pxa: normalize the return value for gpio_get
From: Neil Zhang <hidden>
Date: 2014-01-15 08:26:50
Also in:
lkml
From: Neil Zhang <hidden>
Date: 2014-01-15 08:26:50
Also in:
lkml
-----Original Message----- From: Linus Walleij [mailto:linus.walleij@linaro.org] Sent: 2014年1月15日 15:58 To: Neil Zhang Cc: Alexandre Courbot; linux-gpio@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: pxa: normalize the return value for gpio_get On Fri, Jan 10, 2014 at 7:03 AM, Neil Zhang [off-list ref] wrote:quoted
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 <redacted>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