diff options
author | Andy Shevchenko | 2018-02-14 16:43:16 +0100 |
---|---|---|
committer | Ingo Molnar | 2018-02-16 10:10:14 +0100 |
commit | 3130451e270960065e8de684c60b898e970c940c (patch) | |
tree | 6e2e0da85e27d86209b1cd70f5c9245eb45c7c66 /arch/x86/platform/geode | |
parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | kernel-qcow2-linux-3130451e270960065e8de684c60b898e970c940c.tar.gz kernel-qcow2-linux-3130451e270960065e8de684c60b898e970c940c.tar.xz kernel-qcow2-linux-3130451e270960065e8de684c60b898e970c940c.zip |
x86/platform/atom: Re-use DEFINE_SHOW_ATTRIBUTE() macro
...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.
While here, replace permissions by explicit octal value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180214154317.52290-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform/geode')
0 files changed, 0 insertions, 0 deletions