Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1483824 > unrolled thread

[PATCH -next] staging: fsl-mc: remove .owner field for driver

Started byWei Yongjun <weiyj.lk@gmail.com>
First post2016-09-15 04:30 +0200
Last post2016-09-15 23:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] staging: fsl-mc: remove .owner field for driver Wei Yongjun <weiyj.lk@gmail.com> - 2016-09-15 04:30 +0200
    RE: [PATCH -next] staging: fsl-mc: remove .owner field for driver Stuart Yoder <stuart.yoder@nxp.com> - 2016-09-15 23:40 +0200

#1483824 — [PATCH -next] staging: fsl-mc: remove .owner field for driver

FromWei Yongjun <weiyj.lk@gmail.com>
Date2016-09-15 04:30 +0200
Subject[PATCH -next] staging: fsl-mc: remove .owner field for driver
Message-ID<shuB3-Wi-5@gated-at.bofh.it>
From: Wei Yongjun <weiyongjun1@huawei.com>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
index 2004fa7..1a35cfb 100644
--- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
+++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
@@ -652,7 +652,6 @@ static const struct fsl_mc_device_id match_id_table[] = {
 static struct fsl_mc_driver fsl_mc_allocator_driver = {
 	.driver = {
 		   .name = "fsl_mc_allocator",
-		   .owner = THIS_MODULE,
 		   .pm = NULL,
 		   },
 	.match_id_table = match_id_table,

[toc] | [next] | [standalone]


#1484556

FromStuart Yoder <stuart.yoder@nxp.com>
Date2016-09-15 23:40 +0200
Message-ID<shMxY-3WU-13@gated-at.bofh.it>
In reply to#1483824

> -----Original Message-----
> From: Wei Yongjun [mailto:weiyj.lk@gmail.com]
> Sent: Wednesday, September 14, 2016 9:27 PM
> To: J . German Rivera <German.Rivera@freescale.com>; Stuart Yoder <stuart.yoder@nxp.com>; Greg Kroah-
> Hartman <gregkh@linuxfoundation.org>; German Rivera <german.rivera@nxp.com>; Itai Katz
> <itai.katz@nxp.com>
> Cc: Wei Yongjun <weiyongjun1@huawei.com>; linux-kernel@vger.kernel.org; devel@driverdev.osuosl.org
> Subject: [PATCH -next] staging: fsl-mc: remove .owner field for driver
> 
> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> Remove .owner field if calls are used which set it automatically.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
>  drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-
> allocator.c
> index 2004fa7..1a35cfb 100644
> --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
> +++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c
> @@ -652,7 +652,6 @@ static const struct fsl_mc_device_id match_id_table[] = {
>  static struct fsl_mc_driver fsl_mc_allocator_driver = {
>  	.driver = {
>  		   .name = "fsl_mc_allocator",
> -		   .owner = THIS_MODULE,
>  		   .pm = NULL,
>  		   },
>  	.match_id_table = match_id_table,

Acked-by: Stuart Yoder <stuart.yoder@nxp.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web