diff options
author | Guangju Wang[baidu] <wgj900@163.com> | 2023-01-18 05:35:54 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-18 14:02:20 +0300 |
commit | 59047d942bedc4ce88a2121a9f9e656b9532dd30 (patch) | |
tree | 0dfcf73322db016705a2397e4945f05853ea988a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ba73e369b706a853cdafa60570854fecec9f9fdd (diff) | |
download | linux-59047d942bedc4ce88a2121a9f9e656b9532dd30.tar.xz |
x86/microcode: Use the DEVICE_ATTR_RO() macro
Use DEVICE_ATTR_RO() helper instead of open-coded DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
No change in functionality.
Signed-off-by: Guangju Wang[baidu] <wgj900@163.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230118023554.1898-1-wgj900@163.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions