diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2021-07-01 04:50:48 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 06:47:29 +0300 |
| commit | 17adb230d6a6e39f9ba39440ee8441291795dff4 (patch) | |
| tree | c8687ef2fda2f649b3b73fd5575663cd342bb9fa /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2a03085ce88792bac2e25319fc2874a885e7e102 (diff) | |
| download | linux-17adb230d6a6e39f9ba39440ee8441291795dff4.tar.xz | |
mm/compaction: use DEVICE_ATTR_WO macro
Use DEVICE_ATTR_WO helper instead of plain DEVICE_ATTR, which makes the
code a bit shorter and easier to read.
Link: https://lkml.kernel.org/r/20210523064521.32912-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
