Re: [PATCH v1.2 5/5] smiapp: Switch to gpiod API for GPIO control

2016-09-01 Thread Sebastian Reichel
Hi, On Thu, Sep 01, 2016 at 09:48:28AM +0300, Sakari Ailus wrote: > Switch from the old gpio API to the new descriptor based gpiod API. > > Signed-off-by: Sakari Ailus > --- > since v1.1: > - Return the error if devm_gpiod_get_optional() fails. NULL is returned if

[PATCH v1.2 5/5] smiapp: Switch to gpiod API for GPIO control

2016-09-01 Thread Sakari Ailus
Switch from the old gpio API to the new descriptor based gpiod API. Signed-off-by: Sakari Ailus --- since v1.1: - Return the error if devm_gpiod_get_optional() fails. NULL is returned if there's no GPIO defined. - No debug print is performed on lack of the GPIO.