]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: Use DEVICE_ATTR_RW/RO/WO to define device attributes
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 17 Jan 2018 06:01:29 +0000 (14:01 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Feb 2018 13:04:52 +0000 (14:04 +0100)
commit82b5ff7ff8281dd68d2bcacef6c00eac859d9eaa
treec80993a0727ceb02b854992670c443ccee4490e6
parent0761b228d2a6b26937aa1f7b224f323b5e648759
clocksource: Use DEVICE_ATTR_RW/RO/WO to define device attributes

Convert DEVICE_ATTR to DEVICE_ATTR_RW/RO/WO which is the preferred and
simpler way of implementation.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: arnd@arndb.de
Cc: sboyd@codeaurora.org
Cc: broonie@kernel.org
Cc: john.stultz@linaro.org
Link: https://lkml.kernel.org/r/8f35c77e753e957b61187e8e7b2e4a3d61e4a72b.1516167691.git.baolin.wang@linaro.org
kernel/time/clocksource.c