diff options
author | Raag Jadav <[email protected]> | 2023-05-22 10:28:06 +0530 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-05-23 10:22:25 +0200 |
commit | 3b8d8ccc39942cb4eced890c9776567b1e4117eb (patch) | |
tree | 19836aeb9b5c4af82ed22c245caa2248788b42ca /lib/mpi/mpi-sub-ui.c | |
parent | b41cabb7be3c8113af0357366bd5e41a34b05a50 (diff) |
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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions