linux-sg2042/drivers/ssb
Zhen Lei 573f1af868 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
2021-06-15 13:11:56 +03:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
b43_pci_bridge.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
bridge_pcmcia_80211.c ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-04-25 19:39:34 +03:00
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_chipcommon_pmu.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
driver_chipcommon_sflash.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
driver_extif.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
driver_gige.c ssb: driver_gige: use true and false for boolean values 2018-08-09 18:15:46 +03:00
driver_gpio.c ssb: gpio: Fix alignment of comment 2021-06-15 13:09:06 +03:00
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c ssb: pcicore: Fix indentation of comment 2021-06-15 13:09:30 +03:00
embedded.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
host_soc.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
main.c ssb: remove unreachable code 2021-06-15 13:11:34 +03:00
pci.c ssb: use DEVICE_ATTR_ADMIN_RW() helper macro 2021-06-15 13:11:56 +03:00
pcihost_wrapper.c
pcmcia.c ssb: use DEVICE_ATTR_ADMIN_RW() helper macro 2021-06-15 13:11:56 +03:00
scan.c ssb: Fix error return code in ssb_bus_scan() 2021-06-15 13:10:42 +03:00
sdio.c ssb: sdio: Don't overwrite const buffer if block_write fails 2021-06-15 13:10:59 +03:00
sprom.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
ssb_private.h ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00