diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-27 22:11:05 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-08-10 18:11:12 +0200 |
commit | 1782dc87b2edcf3a6c350ead748a8941b5835975 (patch) | |
tree | 7033105ec8633e71c117755fe68cc6c2433e7416 /lib/mpi/mpi-sub-ui.c | |
parent | 11bc021d1fbaaa1a6e7b92d6631faa875dd40b7d (diff) |
cpu/hotplug: Use DEVICE_ATTR_*() macro
Use DEVICE_ATTR_*() helper instead of plain DEVICE_ATTR,
which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210527141105.2312-1-yuehaibing@huawei.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions