summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/sunxi_sid.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-01-10 09:19:29 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-01-10 12:11:30 +0100
commita99d2c6ccd15570a74a39992efa82fd169026b4c (patch)
tree4c78ee59c167e2c1ab7108fe96c61d77d28b2cf9 /drivers/nvmem/sunxi_sid.c
parenteeprom: at24: remove the write-protect pin support (diff)
downloadlinux-a99d2c6ccd15570a74a39992efa82fd169026b4c.tar.xz
linux-a99d2c6ccd15570a74a39992efa82fd169026b4c.zip
nvmem: fix a 'makes pointer from integer without a cast' build warning
nvmem_register() returns a pointer, not a long int. Use ERR_CAST() to cast the struct gpio_desc pointer to struct nvmem_device. Reported-by: kbuild test robot <lkp@intel.com> Fixes: 2a127da461a9 ("nvmem: add support for the write-protect pin") Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Diffstat (limited to 'drivers/nvmem/sunxi_sid.c')
0 files changed, 0 insertions, 0 deletions