aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:14:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:16 -0500
commit0fe763c570ad2701c830b9e4e53c65ad89c11c32 (patch)
tree88a648c1cbcda318507d339bf93f1b24af4ff4bf /drivers/rpmsg
parent8d85fce77edfc22f1d6dbf78e3af723b4b556f3d (diff)
Drivers: misc: 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, __devinitdata, __devinitconst, 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/virtio_rpmsg_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/drivers/rpmsg/virtio_rpmsg_bus.c
index 027096fe6a12..f1e323924f12 100644
--- a/drivers/rpmsg/virtio_rpmsg_bus.c
+++ b/drivers/rpmsg/virtio_rpmsg_bus.c
@@ -1022,7 +1022,7 @@ static int rpmsg_remove_device(struct device *dev, void *data)
1022 return 0; 1022 return 0;
1023} 1023}
1024 1024
1025static void __devexit rpmsg_remove(struct virtio_device *vdev) 1025static void rpmsg_remove(struct virtio_device *vdev)
1026{ 1026{
1027 struct virtproc_info *vrp = vdev->priv; 1027 struct virtproc_info *vrp = vdev->priv;
1028 int ret; 1028 int ret;
@@ -1063,7 +1063,7 @@ static struct virtio_driver virtio_ipc_driver = {
1063 .driver.owner = THIS_MODULE, 1063 .driver.owner = THIS_MODULE,
1064 .id_table = id_table, 1064 .id_table = id_table,
1065 .probe = rpmsg_probe, 1065 .probe = rpmsg_probe,
1066 .remove = __devexit_p(rpmsg_remove), 1066 .remove = rpmsg_remove,
1067}; 1067};
1068 1068
1069static int __init rpmsg_init(void) 1069static int __init rpmsg_init(void)