regulator: bd718xx: fix build warning on x86_64
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Tue, 2 Oct 2018 07:16:50 +0000 (10:16 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit7e2018f01c721e798c07015db6b5d98cf194bd82
tree6567ecb0291b3ca2eef0745fd38a95b9cc62ef82
parent10e38534452f7c45a8bf60cbb58c1dc0848a9e1a
regulator: bd718xx: fix build warning on x86_64

Casting address to unsigned int causes a warning on some 64 bit
architectures. Fix the cast.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit eb108c3611dd21d5d058cee25fec1c29baf5b0c9)
drivers/mfd/rohm-bd718x7.c