aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rpmsg/rpmsg_client_sample.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:16:45 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:16 -0500
commit6ae141718e3f9c7e2c620e999c86612a7f415bb1 (patch)
tree808737193b879da8b287f54647c4782fb450299d /samples/rpmsg/rpmsg_client_sample.c
parente389623a68622e3c9be440ab522fac1aa1ca3454 (diff)
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 last of the __dev* markings from the kernel from a variety of different, tiny, places. 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 'samples/rpmsg/rpmsg_client_sample.c')
-rw-r--r--samples/rpmsg/rpmsg_client_sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/rpmsg/rpmsg_client_sample.c b/samples/rpmsg/rpmsg_client_sample.c
index 23ea9f2ae11d..59b13440813d 100644
--- a/samples/rpmsg/rpmsg_client_sample.c
+++ b/samples/rpmsg/rpmsg_client_sample.c
@@ -64,7 +64,7 @@ static int rpmsg_sample_probe(struct rpmsg_channel *rpdev)
64 return 0; 64 return 0;
65} 65}
66 66
67static void __devexit rpmsg_sample_remove(struct rpmsg_channel *rpdev) 67static void rpmsg_sample_remove(struct rpmsg_channel *rpdev)
68{ 68{
69 dev_info(&rpdev->dev, "rpmsg sample client driver is removed\n"); 69 dev_info(&rpdev->dev, "rpmsg sample client driver is removed\n");
70} 70}
@@ -81,7 +81,7 @@ static struct rpmsg_driver rpmsg_sample_client = {
81 .id_table = rpmsg_driver_sample_id_table, 81 .id_table = rpmsg_driver_sample_id_table,
82 .probe = rpmsg_sample_probe, 82 .probe = rpmsg_sample_probe,
83 .callback = rpmsg_sample_cb, 83 .callback = rpmsg_sample_cb,
84 .remove = __devexit_p(rpmsg_sample_remove), 84 .remove = rpmsg_sample_remove,
85}; 85};
86 86
87static int __init rpmsg_client_sample_init(void) 87static int __init rpmsg_client_sample_init(void)