mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00: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> |
History
|
|
|---|---|---|
| .. | ||
| .gitignore | ||
| gen-devlist.c | ||
| Kconfig | ||
| Makefile | ||
| names.c | ||
| proc.c | ||
| zorro-driver.c | ||
| zorro-sysfs.c | ||
| zorro.c | ||
| zorro.h | ||
| zorro.ids | ||