summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-brcmstb.c
diff options
context:
space:
mode:
authorRaag Jadav <raag.jadav@intel.com>2023-05-22 10:28:06 +0530
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-05-23 10:22:25 +0200
commit3b8d8ccc39942cb4eced890c9776567b1e4117eb (patch)
tree19836aeb9b5c4af82ed22c245caa2248788b42ca /drivers/gpio/gpio-brcmstb.c
parentb41cabb7be3c8113af0357366bd5e41a34b05a50 (diff)
downloadlwn-3b8d8ccc39942cb4eced890c9776567b1e4117eb.tar.gz
lwn-3b8d8ccc39942cb4eced890c9776567b1e4117eb.zip
gpio: tangier: calculate number of ctx using temporary variable
Utilize a temporary variable to calculate number of ctx from ngpio inside ->probe() implementation. While at it, include math.h for using DIV_ROUND_UP(). Signed-off-by: Raag Jadav <raag.jadav@intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-brcmstb.c')
0 files changed, 0 insertions, 0 deletions