summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-05-04 17:01:37 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-05-06 11:09:00 -0700
commit9122bf1839c039a0052c0a75a3c4daf9277b5dd5 (patch)
tree58866b413b23e8f0888bbfea1ecee955019c3537
parentbc3c57c13256c748a4e71d2ea7481d0c953e88e1 (diff)
downloadop-kernel-dev-9122bf1839c039a0052c0a75a3c4daf9277b5dd5.zip
op-kernel-dev-9122bf1839c039a0052c0a75a3c4daf9277b5dd5.tar.gz
rpmsg: drop owner assignment from rpmsg_drivers
An rpmsg_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r--Documentation/rpmsg.txt1
-rw-r--r--samples/rpmsg/rpmsg_client_sample.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/rpmsg.txt b/Documentation/rpmsg.txt
index f7edc3a..1d88426 100644
--- a/Documentation/rpmsg.txt
+++ b/Documentation/rpmsg.txt
@@ -249,7 +249,6 @@ MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_sample_id_table);
static struct rpmsg_driver rpmsg_sample_client = {
.drv.name = KBUILD_MODNAME,
- .drv.owner = THIS_MODULE,
.id_table = rpmsg_driver_sample_id_table,
.probe = rpmsg_sample_probe,
.callback = rpmsg_sample_cb,
diff --git a/samples/rpmsg/rpmsg_client_sample.c b/samples/rpmsg/rpmsg_client_sample.c
index 59b1344..82ed288 100644
--- a/samples/rpmsg/rpmsg_client_sample.c
+++ b/samples/rpmsg/rpmsg_client_sample.c
@@ -77,7 +77,6 @@ MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_sample_id_table);
static struct rpmsg_driver rpmsg_sample_client = {
.drv.name = KBUILD_MODNAME,
- .drv.owner = THIS_MODULE,
.id_table = rpmsg_driver_sample_id_table,
.probe = rpmsg_sample_probe,
.callback = rpmsg_sample_cb,
OpenPOWER on IntegriCloud