mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 03:29:11 +02:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| gen-devlist.c | ||
| Kconfig | ||
| Makefile | ||
| names.c | ||
| proc.c | ||
| zorro-driver.c | ||
| zorro-sysfs.c | ||
| zorro.c | ||
| zorro.h | ||
| zorro.ids | ||