summaryrefslogtreecommitdiffstats
path: root/include/trace/events/page_pool.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-06-28 19:40:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-06-29 10:53:52 -0700
commite8df2c703d5d1a99cfc45124bfa6f5e1982e0166 (patch)
treecc3818c3ec29e0dd64d86cdb6f357a639d7952c0 /include/trace/events/page_pool.h
parentf4c1ab0937c3a22c5e6e735b47fa3fa9c68dc26e (diff)
downloadlinux-e8df2c703d5d1a99cfc45124bfa6f5e1982e0166.tar.bz2
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/20210524112852.34716-1-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/trace/events/page_pool.h')
0 files changed, 0 insertions, 0 deletions