Searched hist:"1 fa98d96" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/time/ |
H A D | clockevents.c | 1fa98d96 Sun May 23 01:58:25 CDT 2021 YueHaibing <yuehaibing@huawei.com> clockevents: Use DEVICE_ATTR_[RO|WO] macros
Use the DEVICE_ATTR_[RO|WO] helpers instead of plain DEVICE_ATTR, which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210523065825.19684-1-yuehaibing@huawei.com
|