summaryrefslogtreecommitdiff
path: root/include/linux/bug.h
diff options
context:
space:
mode:
authorJohan Jonker <[email protected]>2023-03-19 16:02:18 +0100
committerKever Yang <[email protected]>2023-04-21 15:16:01 +0800
commit3c4549771dd0352e893a0bc9d2344cd8ecd8033d (patch)
tree867e91c2dc9353e32418ac63c30ab872467b219b /include/linux/bug.h
parentba607e2b9a6264ffd0528c1b5b516251d7e7cf2d (diff)
rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider
The current divider to calculate the bank ID can change. Given the Rockchip TRM not all gpio-banks have 32 pins per bank. The "gpio-ranges" syntax allows multiple items with variable number of pins. Use a constant ROCKCHIP_GPIOS_PER_BANK as fixed divider. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include/linux/bug.h')
0 files changed, 0 insertions, 0 deletions