mfd: intel_soc_pmic_bxtwc: Create sysfs attributes using core driver's facility
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Jun 2022 22:17:38 +0000 (01:17 +0300)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:41 +0000 (10:54 +0100)
commit929a4d289de9d6bf74b4c7d093ccc4823c9f56e9
tree1e54e814f278f2b4f04fb3c164a21ef57573d7fb
parent5189952238c965cbf76309f2c29b84ff2ec70b75
mfd: intel_soc_pmic_bxtwc: Create sysfs attributes using core driver's facility

Driver core takes care of sysfs attributes. Use this facility instead of
doing it explicitly in ->probe() and ->remove().

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-2-andriy.shevchenko@linux.intel.com
drivers/mfd/intel_soc_pmic_bxtwc.c