Re: [PATCH] i2c: s3c2410: Convert to use GPIO descriptors

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

 



On Thu, May 30, 2019 at 11:50:13PM +0200, Linus Walleij wrote:
> The S3C2410 does some funny dance around its pins:
> - First try to call back to the platform to get and control
>   some GPIO pins
> - If this doesn't work, it tries to get a pin control handle
> - If this doesn't work, it retrieves two GPIOs from the device
>   tree node and does nothing with them
> 
> If we're gonna retrieve two GPIOs and do nothing with them, we
> might as well do it using the GPIO descriptor API. When we use
> the resource management API, the code gets smaller.
> 
> Cc: Kukjin Kim <kgene@xxxxxxxxxx>
> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Cc: linux-samsung-soc@xxxxxxxxxxxxxxx
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux