]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc56a257bb22985c9b992fd4f73d1e217865c7f53
tree1e54e814f278f2b4f04fb3c164a21ef57573d7fb
parentd18cb2c58060a66a2ed042b38286ae3a4b31b3e3
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