aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/intel.c
diff options
context:
space:
mode:
authorGuangju Wang[baidu] <[email protected]>2023-01-18 10:35:54 +0800
committerIngo Molnar <[email protected]>2023-01-18 12:02:20 +0100
commit59047d942bedc4ce88a2121a9f9e656b9532dd30 (patch)
tree0dfcf73322db016705a2397e4945f05853ea988a /arch/x86/kernel/cpu/microcode/intel.c
parentba73e369b706a853cdafa60570854fecec9f9fdd (diff)
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] <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/intel.c')
0 files changed, 0 insertions, 0 deletions