diff options
author | Raag Jadav <raag.jadav@intel.com> | 2023-05-22 10:28:06 +0530 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-05-23 10:22:25 +0200 |
commit | 3b8d8ccc39942cb4eced890c9776567b1e4117eb (patch) | |
tree | 19836aeb9b5c4af82ed22c245caa2248788b42ca /drivers/gpio/gpio-brcmstb.c | |
parent | b41cabb7be3c8113af0357366bd5e41a34b05a50 (diff) | |
download | lwn-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