staging: hikey9xx: spmi driver: convert to regmap
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 Jan 2021 19:51:47 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2021 12:41:05 +0000 (13:41 +0100)
commitfb02e3ebfb2da27172da47f79a5481c4fe83d751
treeff3a96b97c858279eb411ef4ee6a81c960665f57
parent1f92798cbe7fe923479cff754dd06dd23d352e36
staging: hikey9xx: spmi driver: convert to regmap

Instead of doing its own SPMI I/O implementation, use the
already-existing regmap one.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/7084885f3007ca5daf0d5bc85d038e26ee82dc0d.1611949675.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/Kconfig
drivers/staging/hikey9xx/hi6421-spmi-pmic.c
drivers/staging/hikey9xx/hi6421v600-regulator.c
include/linux/mfd/hi6421-spmi-pmic.h