Searched hist:"573 f1af86891d4ecda9f7f1073dccec28c469387" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/ssb/ |
H A D | pcmcia.c | diff 573f1af86891d4ecda9f7f1073dccec28c469387 Thu Jun 03 03:22:18 CDT 2021 Zhen Lei <thunder.leizhen@huawei.com> ssb: use DEVICE_ATTR_ADMIN_RW() helper macro
Use DEVICE_ATTR_ADMIN_RW() helper macro instead of DEVICE_ATTR(), making it simpler and easier to read.
Because the read and write function names of the sysfs attribute have been normalized, there is a natural association.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210603082218.11718-2-thunder.leizhen@huawei.com
|
H A D | pci.c | diff 573f1af86891d4ecda9f7f1073dccec28c469387 Thu Jun 03 03:22:18 CDT 2021 Zhen Lei <thunder.leizhen@huawei.com> ssb: use DEVICE_ATTR_ADMIN_RW() helper macro
Use DEVICE_ATTR_ADMIN_RW() helper macro instead of DEVICE_ATTR(), making it simpler and easier to read.
Because the read and write function names of the sysfs attribute have been normalized, there is a natural association.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20210603082218.11718-2-thunder.leizhen@huawei.com
|