linux/drivers/zorro
Dmitry Torokhov 87e715deb8 zorro: stop creating attributes by hand
Instead of creating attributes one by one, define attribute_group array
and attach it to bus->dev_groups, so that all needed attributes are created
automatically when a new device is registered on the bus.

Also switch to using standard DEVICE_ATTR_RO() macros.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-17 15:10:49 +09:00
..
.gitignore
Kconfig
Makefile
gen-devlist.c
names.c
proc.c
zorro-driver.c zorro: stop creating attributes by hand 2017-03-17 15:10:49 +09:00
zorro-sysfs.c zorro: stop creating attributes by hand 2017-03-17 15:10:49 +09:00
zorro.c zorro: stop creating attributes by hand 2017-03-17 15:10:49 +09:00
zorro.h zorro: stop creating attributes by hand 2017-03-17 15:10:49 +09:00
zorro.ids