[PATCH v3 2/6] gpio: aspeed: Remove the name for bank array

Andrew Jeffery andrew at codeconstruct.com.au
Mon Sep 16 11:51:22 AEST 2024


On Fri, 2024-09-13 at 15:43 +0800, Billy Tsai wrote:
> The bank array name is only used to determine if the GPIO offset is valid,
> and this condition can be replaced by checking if the offset exceeds the
> ngpio property.
> 
> Signed-off-by: Billy Tsai <billy_tsai at aspeedtech.com>

Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>



More information about the Linux-aspeed mailing list