virtio: fix format of sysfs driver/vendor files
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 10 Nov 2010 06:20:29 +0000 (22:20 -0800)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Nov 2010 04:51:12 +0000 (14:51 +1030)
commitbe6528b2e58d92ef2ffed6f130e2d42bb85dbf29
treeb16de122d65f8f2891748e76f94bc117dfaaa396
parent22e132ff2645aab1e1a25c45e9544a39ae1dc106
virtio: fix format of sysfs driver/vendor files

The sysfs files for virtio produce the wrong format and are missing
the required newline. The output for virtio bus vendor/device should
have the same format as the corresponding entries for PCI devices.

Although this technically changes the ABI for sysfs, these files were
broken to start with!

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c