commit | 83b7bce3d390f15047e05a186bb4051536ee9dbc | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Wed Oct 16 11:28:54 2013 +0200 |
committer | Geert Uytterhoeven <geert@linux-m68k.org> | Tue Nov 26 11:09:06 2013 +0100 |
tree | 651419d2486f0add87182dbdf50060a1f497dc59 | |
parent | 52182c758f7c9bc34dbee0dfdce13d356de50f03 [diff] |
zorro: Let the driver core handle device enumeration Filling in dev_name of the Zorro bus type and dev.id of each device allows the driver core to enumerate devices, so we don't have to do that ourselves. This changes the names of devices in sysfs from "%02x" to "zorro%u". Note that filling in dev.id is also needed to support MFD Zorro devices. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>