diff options
| author | YueHaibing <[email protected]> | 2021-06-29 02:40:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-29 17:53:52 +0000 |
| commit | e8df2c703d5d1a99cfc45124bfa6f5e1982e0166 (patch) | |
| tree | cc3818c3ec29e0dd64d86cdb6f357a639d7952c0 /lib/dump_stack.c | |
| parent | h8300: remove unused variable (diff) | |
| download | kernel-e8df2c703d5d1a99cfc45124bfa6f5e1982e0166.tar.gz kernel-e8df2c703d5d1a99cfc45124bfa6f5e1982e0166.zip | |
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 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
