path: root/Documentation/rpmsg.txt
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 23:15:02 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 23:57:16 (GMT)
commit63a29f744fe1c19742039ce7526663a98f172f7e (patch)
tree52eea88a9e78d0b646c2a549b97f08af29fa9fcb /Documentation/rpmsg.txt
parent0fe763c570ad2701c830b9e4e53c65ad89c11c32 (diff)
Documentation: 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 the kernel documentation. 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 'Documentation/rpmsg.txt')
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/rpmsg.txt b/Documentation/rpmsg.txt
index 409d9f9..f7edc3a 100644
--- a/Documentation/rpmsg.txt
+++ b/Documentation/rpmsg.txt
@@ -236,7 +236,7 @@ static int rpmsg_sample_probe(struct rpmsg_channel *rpdev)
return 0;
-static void __devexit rpmsg_sample_remove(struct rpmsg_channel *rpdev)
+static void rpmsg_sample_remove(struct rpmsg_channel *rpdev)
dev_info(&rpdev->dev, "rpmsg sample client driver is removed\n");
@@ -253,7 +253,7 @@ static struct rpmsg_driver rpmsg_sample_client = {
.id_table = rpmsg_driver_sample_id_table,
.probe = rpmsg_sample_probe,
.callback = rpmsg_sample_cb,
- .remove = __devexit_p(rpmsg_sample_remove),
+ .remove = rpmsg_sample_remove,
static int __init init(void)

Privacy Policy