[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4385700-44c8-f8d2-1eae-11db76761c78@hauke-m.de>
Date: Sun, 19 Feb 2017 23:58:52 +0100
From: Hauke Mehrtens <hauke@...ke-m.de>
To: kbuild test robot <fengguang.wu@...el.com>
Cc: kbuild-all@...org, linux-spi@...r.kernel.org,
Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings
On 02/19/2017 06:33 PM, kbuild test robot wrote:
> drivers/spi/spi-lantiq-ssc.c:973:3-8: No need to set .owner here. The core will do it.
>
> Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Hauke Mehrtens <hauke@...ke-m.de>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Acked-by: Hauke Mehrtens <hauke@...ke-m.de>
> ---
>
> spi-lantiq-ssc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- a/drivers/spi/spi-lantiq-ssc.c
> +++ b/drivers/spi/spi-lantiq-ssc.c
> @@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc
> .remove = lantiq_ssc_remove,
> .driver = {
> .name = "spi-lantiq-ssc",
> - .owner = THIS_MODULE,
> .of_match_table = lantiq_ssc_match,
> },
> };
>
Powered by blists - more mailing lists