Skip to content
Commit 5089e34f authored by Zhen Lei's avatar Zhen Lei Committed by Lee Jones
Browse files

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: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 24676b3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment