mfd: pm8008: Remove driver data structure pm8008_data
authorLee Jones <lee.jones@linaro.org>
Tue, 21 Jun 2022 08:14:02 +0000 (09:14 +0100)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:40 +0000 (10:54 +0100)
commit915696927cd6e7838d25dab8fbd2ae05d4acce84
tree8bab4f712a1efdd51d823c1446635422960bb544
parent4a346a03a63cb45f7766d9d6559cf3fee783e926
mfd: pm8008: Remove driver data structure pm8008_data

Maintaining a local driver data structure that is never shared
outside of the core device is an unnecessary complexity.  Half of the
attributes were not used outside of a single function, one of which
was not used at all.  The remaining 2 are generic and can be passed
around as required.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/qcom-pm8008.c