mfd: intel_soc_pmic_bxtwc: Convert to use platform_get/set_drvdata()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Jun 2022 22:17:39 +0000 (01:17 +0300)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:41 +0000 (10:54 +0100)
commit2790a70c886bbb7e539f8f416438bd35346e364c
tree42f96b95554342dddcdd7fc24f8ffd776634339e
parent929a4d289de9d6bf74b4c7d093ccc4823c9f56e9
mfd: intel_soc_pmic_bxtwc: Convert to use platform_get/set_drvdata()

We have the specific helpers for platform device to set and get
its driver data. Convert driver to use them instead of open coded
variants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220628221747.33956-3-andriy.shevchenko@linux.intel.com
drivers/mfd/intel_soc_pmic_bxtwc.c