timekeeping: Convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 11 Dec 2018 16:37:44 +0000 (11:37 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 12 Dec 2018 02:13:35 +0000 (18:13 -0800)
commit5b20c6fd6a60e182243da31c47f2ebff5b0e3d57
treee4481266524b643ee743abd1fb5c4a272c65ef02
parentce10a5b3954f2514af726beb78ed8d7350c5e41c
timekeeping: Convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john.stultz@linaro.org
Cc: sboyd@kernel.org
Link: https://lkml.kernel.org/r/20181211163744.22133-1-tiny.windzz@gmail.com
kernel/time/timekeeping_debug.c