virtio: Use bus_type probe and remove methods
authorMark McLoughlin <markmc@redhat.com>
Fri, 13 Jun 2008 12:46:40 +0000 (13:46 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 25 Jul 2008 02:06:05 +0000 (12:06 +1000)
commite962fa660d391fc9b90988e6538c94c858c099f9
tree2e498cb10c9a416192c769bec8119455afcb18ba
parent44653eae1407f79dff6f52fcf594ae84cb165ec4
virtio: Use bus_type probe and remove methods

Hook up to the probe() and remove() methods in bus_type
rather than device_driver. The latter has been preferred
since 2.6.16.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c