commit | 1fa98d96ea0ff6c8770eeba90417aab4b4e07f52 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Sun May 23 14:58:25 2021 +0800 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon May 31 17:04:42 2021 +0200 |
tree | a7c49623e615ef5b8da7f802f9c41cb56b022862 | |
parent | 8124c8a6b35386f73523d27eacb71b5364a68c4c [diff] |
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