commit | 3935787ebd5f4117d39c6fda6d73ecfdb747349f | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Wed Jun 02 16:15:46 2021 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jun 07 16:24:14 2021 +0200 |
tree | 4a8f2b80f0a064f6b87820b825c90fccba0e69f9 | |
parent | 5bb5ceac1275cbbe757d9eecbd4b8c8a4f403c32 [diff] |
PNP: use DEVICE_ATTR_RO macro Use DEVICE_ATTR_RO 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>