Searched hist:e8df2c703d5d1a99cfc45124bfa6f5e1982e0166 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | dmapool.c | diff e8df2c703d5d1a99cfc45124bfa6f5e1982e0166 Mon Jun 28 21:40:05 CDT 2021 YueHaibing <yuehaibing@huawei.com> 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>
|