]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commite87821d18cf4db19d634a04061c0a1b7eb9c0e65
treec80993a0727ceb02b854992670c443ccee4490e6
parent7f852afe448c95691ead6b57bae5f37562d060b5
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