On 12/03/2018 10:36 AM, Bartosz Golaszewski wrote:
> niedz., 2 gru 2018 o 20:36 Marek Vasut napisał(a):
>>
>> The bank_size = fls(...) code was duplicated in the driver 5 times,
>> pull it into separate function.
>>
>
> Shouldn't it be bank_shift in the commit message?
It should, fixed
--
Best
niedz., 2 gru 2018 o 20:36 Marek Vasut napisał(a):
>
> The bank_size = fls(...) code was duplicated in the driver 5 times,
> pull it into separate function.
>
Shouldn't it be bank_shift in the commit message?
Bart
> Signed-off-by: Marek Vasut
> Cc: Linus Walleij
> Cc: Bartosz Golaszewski
> -
The bank_size = fls(...) code was duplicated in the driver 5 times,
pull it into separate function.
Signed-off-by: Marek Vasut
Cc: Linus Walleij
Cc: Bartosz Golaszewski
---
drivers/gpio/gpio-pca953x.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/drive