diff options
author | YueHaibing <[email protected]> | 2021-06-28 19:40:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:52 -0700 |
commit | e8df2c703d5d1a99cfc45124bfa6f5e1982e0166 (patch) | |
tree | cc3818c3ec29e0dd64d86cdb6f357a639d7952c0 /tools/perf/scripts/python | |
parent | f4c1ab0937c3a22c5e6e735b47fa3fa9c68dc26e (diff) |
mm/dmapool: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(), which makes
the code a bit shorter and easier to read.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions