lkml.org 
[lkml]   [2016]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] rpmsg: drop owner assignment from spi_drivers
From
Date
On 05/04/2016 01:34 PM, Andrew F. Davis wrote:
> An rpmsg_driver does not need to set an owner, it will be populated by
> the driver core.

spi_drivers in patch subject??

regards
Suman

>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
> Documentation/rpmsg.txt | 1 -
> samples/rpmsg/rpmsg_client_sample.c | 1 -
> 2 files changed, 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,
>

\
 
 \ /
  Last update: 2016-05-04 21:21    [W:0.073 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site