Searched hist:"17 adb230d6a6e39f9ba39440ee8441291795dff4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | compaction.c | diff 17adb230d6a6e39f9ba39440ee8441291795dff4 Wed Jun 30 20:50:48 CDT 2021 YueHaibing <yuehaibing@huawei.com> 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>
|