diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-02 16:15:46 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-06-07 16:24:14 +0200 |
commit | 3935787ebd5f4117d39c6fda6d73ecfdb747349f (patch) | |
tree | 4a8f2b80f0a064f6b87820b825c90fccba0e69f9 /drivers/pnp/pnpbios | |
parent | 5bb5ceac1275cbbe757d9eecbd4b8c8a4f403c32 (diff) | |
download | linux-3935787ebd5f4117d39c6fda6d73ecfdb747349f.tar.gz |
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>
Diffstat (limited to 'drivers/pnp/pnpbios')
0 files changed, 0 insertions, 0 deletions