Re: [PATCH v2] gpio: clamp returned values to the boolean range

From: Linus Walleij
Date: Fri Mar 14 2014 - 05:18:22 EST


On Tue, Mar 11, 2014 at 7:52 AM, Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:

> This patch makes the internal _gpiod_get_raw_value() function return a
> bool, effectively clamping the GPIO value to the boolean range no
> matter what the driver does.

This looks good, 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/