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 /tools/perf/scripts/python | |
| parent | PNP: Switch over to dev_dbg() (diff) | |
| download | linux-3935787ebd5f4117d39c6fda6d73ecfdb747349f.tar.gz linux-3935787ebd5f4117d39c6fda6d73ecfdb747349f.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
