Skip to content
Commit a070bdbb authored by Michael Walle's avatar Michael Walle Committed by Linus Walleij
Browse files

gpio: regmap: fix type clash



GPIO_REGMAP_ADDR_ZERO() cast to unsigned long but the actual config
parameters are unsigned int. We use unsigned int here because that is
the type which is used by the underlying regmap.

Fixes: ebe36319 ("gpio: add a reusable generic gpio_chip using regmap")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200725232337.27581-1-michael@walle.cc


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8fc3ed3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment