summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pfuze100-regulator.c
diff options
context:
space:
mode:
authorLinus Walleij2014-01-23 15:20:01 +0100
committerMark Brown2014-01-23 20:52:09 +0100
commit23e21ddf6c3d9cb37aa69da496f80e8481e2c8bd (patch)
tree6fd598864d1ec9244abec186902ccb50f26eb007 /drivers/regulator/pfuze100-regulator.c
parentLinux 3.13 (diff)
downloadkernel-qcow2-linux-23e21ddf6c3d9cb37aa69da496f80e8481e2c8bd.tar.gz
kernel-qcow2-linux-23e21ddf6c3d9cb37aa69da496f80e8481e2c8bd.tar.xz
kernel-qcow2-linux-23e21ddf6c3d9cb37aa69da496f80e8481e2c8bd.zip
regulator: ab3100: cast fix
The AB3100 regulator driver emits a warning when compiled on 64bit systems like this: drivers/regulator/ab3100.c: In function ‘ab3100_regulator_of_probe’: srivers/regulator/ab3100.c:649:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] As the int is a different size than the 64bit pointer used to pass regulator data. Switch to using an unsigned long as ID passed for the regulator to get rid of the warning. Reported-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/pfuze100-regulator.c')
0 files changed, 0 insertions, 0 deletions