aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2018-12-12 02:39:49 +0100
committerLinus Walleij <[email protected]>2018-12-14 15:18:42 +0100
commit873d1e8e6fafabc7750e5ef0fe0289548f540f5b (patch)
tree1489ab3a806ca57a39551c31f8a66a8eee32f18b /include/linux/timerqueue.h
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
gpio: pca953x: Deduplicate the bank_shift
The bank_shift = fls(...) code was duplicated in the driver 5 times, pull it into separate function. Signed-off-by: Marek Vasut <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions