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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <sakari.ailus@xxxxxxxxxxxxxxx>
> ---
> 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. The GPIO framework
>   already does this.
> 
>  drivers/media/i2c/smiapp/smiapp-core.c | 36 +++++++++++-----------------------
>  drivers/media/i2c/smiapp/smiapp.h      |  1 +
>  include/media/i2c/smiapp.h             |  3 ---
>  3 files changed, 12 insertions(+), 28 deletions(-)

Reviewed-By: Sebastian Reichel <sre@xxxxxxxxxx>

-- Sebastian

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux