diff options
author | 2023-01-18 10:35:54 +0800 | |
---|---|---|
committer | 2023-01-18 12:02:20 +0100 | |
commit | 59047d942bedc4ce88a2121a9f9e656b9532dd30 (patch) | |
tree | 0dfcf73322db016705a2397e4945f05853ea988a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/microcode/AMD: Handle multiple glued containers properly (diff) | |
download | wireguard-linux-59047d942bedc4ce88a2121a9f9e656b9532dd30.tar.xz wireguard-linux-59047d942bedc4ce88a2121a9f9e656b9532dd30.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions