diff options
author | 2018-02-14 17:43:17 +0200 | |
---|---|---|
committer | 2018-02-16 10:10:14 +0100 | |
commit | a66b86f0026b07b0ea7340e3690ac9fd5ac1499a (patch) | |
tree | 7f679afb4254b328c8c2ae845145a1c71141ef5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/platform/atom: Re-use DEFINE_SHOW_ATTRIBUTE() macro (diff) | |
download | wireguard-linux-a66b86f0026b07b0ea7340e3690ac9fd5ac1499a.tar.xz wireguard-linux-a66b86f0026b07b0ea7340e3690ac9fd5ac1499a.zip |
x86/platform/quark: 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-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions