Skip to content
Commit 3b8d8ccc authored by Raag Jadav's avatar Raag Jadav Committed by Bartosz Golaszewski
Browse files

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: default avatarRaag Jadav <raag.jadav@intel.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent b41cabb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment