Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction

From: Alexandre Courbot
Date: Tue Jun 09 2015 - 22:24:49 EST


On 06/08/2015 06:53 PM, Uwe Kleine-KÃnig wrote:
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions)
which appeared in v3.17-rc1, the gpiod_get* functions take an additional
parameter that allows to specify direction and initial value for output.

Use this to simplify the driver. Furthermore this is one caller less
that stops us making the flags argument to gpiod_get*() mandatory.

Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Thanks Uwe for taking care of this!
--
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/