[PATCH v1 0/4] mfd: intel_soc_pmic_bxtwc: A few cleanups

From: Andy Shevchenko
Date: Wed Oct 16 2024 - 06:52:34 EST


While working on the fixes series against the driver I have noticed some
places that can be improved using better APIs or approaches. Hence this
mini-series. The plus statistics is due to the patch 2 that brought
missed inclusions to the code (instead of using a proxy header).

Have been tested on Intel Joule device.

Andy Shevchenko (4):
mfd: intel_soc_pmic_bxtwc: Switch to use ATTRIBUTE_GROUPS()
mfd: intel_soc_pmic_bxtwc: Don't use "proxy" headers
mfd: intel_soc_pmic_bxtwc: Use temporary variable for struct device
mfd: intel_soc_pmic_bxtwc: Deduplicate error messages

drivers/mfd/intel_soc_pmic_bxtwc.c | 45 +++++++++++++++++-------------
1 file changed, 26 insertions(+), 19 deletions(-)

--
2.43.0.rc1.1336.g36b5255a03ac