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 zorro: Refactor conditional handling of Zorro device name database 2013-11-26 11:09:06 +01:00
gen-devlist.c
names.c zorro: Use ARRAY_SIZE 2014-07-11 10:38:02 +02:00
proc.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
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 misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00