summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-05-05 00:01:37 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-05-06 20:09:00 +0200
commit9122bf1839c039a0052c0a75a3c4daf9277b5dd5 (patch)
tree58866b413b23e8f0888bbfea1ecee955019c3537 /samples
parentrpmsg: add THIS_MODULE to rpmsg_driver in rpmsg core (diff)
downloadlinux-9122bf1839c039a0052c0a75a3c4daf9277b5dd5.tar.xz
linux-9122bf1839c039a0052c0a75a3c4daf9277b5dd5.zip
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>
Diffstat (limited to 'samples')
-rw-r--r--samples/rpmsg/rpmsg_client_sample.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/rpmsg/rpmsg_client_sample.c b/samples/rpmsg/rpmsg_client_sample.c
index 59b13440813d..82ed288dcf07 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,