[POWERPC] Fix modalias content in sysfs for macio devices
commit6c2d046980299d52d78b2738ad7f11fc593dea75
authorOlaf Hering <olaf@aepfle.de>
Mon, 2 Apr 2007 12:33:27 +0000 (2 14:33 +0200)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:17 +0000 (13 03:55 +1000)
treef8b58484f245f20f58f91505ad0b5e983adb2a9f
parent9414715a7bbb45450015e9bc2676d85d919d08d4
[POWERPC] Fix modalias content in sysfs for macio devices

Currently the buf pointer is advanced too far during each iteration.
Also terminate the string with a newline.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/macio_sysfs.c