Re: [PATCH 7/9] backlight: atmel-pwm-bl: use gpio_is_valid
From: Jingoo Han
Date: Tue Oct 22 2013 - 21:52:39 EST
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote:
>
> Use gpio_is_valid rather than open coding the more restrictive != -1
> test.
>
> Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>
Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
Best regards,
Jingoo Han
> ---
> drivers/video/backlight/atmel-pwm-bl.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
--
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/