diff options
author | Michael Walle <michael@walle.cc> | 2020-07-26 01:23:37 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-27 00:27:54 +0200 |
commit | a070bdbbb06d7787ec7844a4f1e059cf8b55205d (patch) | |
tree | 48b30978aed7436c0af9682805d9863dc3f4b114 /drivers/gpio | |
parent | 8fc3ed3a474d76cd76dd0a154ea904373e9a5530 (diff) | |
download | lwn-a070bdbbb06d7787ec7844a4f1e059cf8b55205d.tar.gz lwn-a070bdbbb06d7787ec7844a4f1e059cf8b55205d.zip |
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: ebe363197e52 ("gpio: add a reusable generic gpio_chip using regmap")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200725232337.27581-1-michael@walle.cc
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions