Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1584274
| From | Hauke Mehrtens <hauke@hauke-m.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings |
| Date | 2017-02-20 00:00 +0100 |
| Message-ID | <tcICu-4ON-13@gated-at.bofh.it> (permalink) |
| References | <tcDCO-1MT-15@gated-at.bofh.it> <tcDCO-1MT-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@hauke-m.de>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Hauke Mehrtens <hauke@hauke-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,
> },
> };
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-02-19 18:40 +0100 Re: [PATCH] spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings Hauke Mehrtens <hauke@hauke-m.de> - 2017-02-20 00:00 +0100 Applied "spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings" to the spi tree Mark Brown <broonie@kernel.org> - 2017-02-21 19:00 +0100
csiph-web