Skip to content
Unverified Commit ba499a50 authored by Zhen Lei's avatar Zhen Lei Committed by Mark Brown
Browse files

regulator: userspace-consumer: use DEVICE_ATTR_RO/RW macro



Use DEVICE_ATTR_RO/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>
Link: https://lore.kernel.org/r/20210602080526.11117-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent de20b747
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment