mfd: hi6421-spmi-pmic: Cleanup drvdata to only include regmap
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 2 Sep 2021 12:47:48 +0000 (14:47 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 5 Oct 2021 07:56:08 +0000 (08:56 +0100)
commite68ce0faf29c7c268666e11e95bf27dca97d28b0
tree582e3b2edd661d6bf201f253ac5a14188961ba32
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
mfd: hi6421-spmi-pmic: Cleanup drvdata to only include regmap

There are lots of fields in struct hi6421_spmi_pmic that aren't
used. As a matter of fact, only regmap is needed.

So, drop the struct as a whole, and set regmap as the drvdata.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/1828cb783b1ebca0b98bf0b3077d8701adb228f7.1630586862.git.mchehab+huawei@kernel.org
drivers/mfd/hi6421-spmi-pmic.c
drivers/misc/hi6421v600-irq.c
drivers/regulator/hi6421v600-regulator.c
include/linux/mfd/hi6421-spmi-pmic.h [deleted file]