mfd: intel_soc_pmic_bxtwc: Use DEVICE_ATTR_ADMIN_RW macro
authorZhen Lei <thunder.leizhen@huawei.com>
Wed, 2 Jun 2021 11:43:38 +0000 (19:43 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 15 Jun 2021 12:14:45 +0000 (13:14 +0100)
commit5089e34f7bba84871f39e8a8989b0c7b88b715b4
tree221e8a2b5957cebae28c109a35f7eb641aa61846
parent24676b3ef8c4621964d71b10678b87414417cc7f
mfd: intel_soc_pmic_bxtwc: Use DEVICE_ATTR_ADMIN_RW macro

Use DEVICE_ATTR_ADMIN_RW macro helper instead of plain DEVICE_ATTR, which
makes the code a bit shorter and easier to read.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_bxtwc.c