diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:05:30 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (patch) | |
tree | 0d7483f5cbeee5954d112197e76f452890ad6b01 /drivers/virtio/virtio_balloon.c | |
parent | 6dfb6715b58a9d184188188779f9f8f27e558042 (diff) |
Drivers: virtio: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, and __devexit
from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r-- | drivers/virtio/virtio_balloon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index d19fe3e323b4..797e1c79a104 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c | |||
@@ -500,7 +500,7 @@ static void remove_common(struct virtio_balloon *vb) | |||
500 | vb->vdev->config->del_vqs(vb->vdev); | 500 | vb->vdev->config->del_vqs(vb->vdev); |
501 | } | 501 | } |
502 | 502 | ||
503 | static void __devexit virtballoon_remove(struct virtio_device *vdev) | 503 | static void virtballoon_remove(struct virtio_device *vdev) |
504 | { | 504 | { |
505 | struct virtio_balloon *vb = vdev->priv; | 505 | struct virtio_balloon *vb = vdev->priv; |
506 | 506 | ||
@@ -552,7 +552,7 @@ static struct virtio_driver virtio_balloon_driver = { | |||
552 | .driver.owner = THIS_MODULE, | 552 | .driver.owner = THIS_MODULE, |
553 | .id_table = id_table, | 553 | .id_table = id_table, |
554 | .probe = virtballoon_probe, | 554 | .probe = virtballoon_probe, |
555 | .remove = __devexit_p(virtballoon_remove), | 555 | .remove = virtballoon_remove, |
556 | .config_changed = virtballoon_changed, | 556 | .config_changed = virtballoon_changed, |
557 | #ifdef CONFIG_PM | 557 | #ifdef CONFIG_PM |
558 | .freeze = virtballoon_freeze, | 558 | .freeze = virtballoon_freeze, |