PM / devfreq: userspace: Use DEVICE_ATTR_RW macro
authorYueHaibing <yuehaibing@huawei.com>
Mon, 24 May 2021 02:11:58 +0000 (10:11 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Jun 2021 08:08:46 +0000 (17:08 +0900)
commit1ad4f329fccb5d9eb7b0a38d7fdf0f4688c6b341
tree651e5418f1c227db1b9cdf4cb49d5401e03591e1
parenta15fc9aa5b384e305ea25f42f744bb301fe39da0
PM / devfreq: userspace: Use DEVICE_ATTR_RW macro

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

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/governor_userspace.c