Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1236625
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings |
| Date | 2015-09-30 20:30 +0200 |
| Message-ID | <qeuiB-4z9-1@gated-at.bofh.it> (permalink) |
| References | <qeuiB-4z9-3@gated-at.bofh.it> <qetPA-3L1-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
sound/soc/sunxi/sun4i-spdif.c:599: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: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
sun4i-spdif.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -596,7 +596,6 @@ static int sun4i_spdif_remove(struct pla
static struct platform_driver sun4i_spdif_driver = {
.driver = {
.name = "sun4i-spdif",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(sun4i_spdif_of_match),
},
.probe = sun4i_spdif_probe,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/4] Add SPDIF support for Allwinner SoCs codekipper@gmail.com - 2015-09-30 20:00 +0200
[PATCH v2 3/4] ASoC: sunxi: Add S/PDIF machine driver. codekipper@gmail.com - 2015-09-30 20:00 +0200
[PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings codekipper@gmail.com - 2015-09-30 20:00 +0200
Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-10-01 22:50 +0200
Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings Code Kipper <codekipper@gmail.com> - 2015-10-02 07:30 +0200
Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-10-05 10:50 +0200
Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings Code Kipper <codekipper@gmail.com> - 2015-10-05 12:50 +0200
[PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block codekipper@gmail.com - 2015-09-30 20:00 +0200
[PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2015-09-30 20:30 +0200
Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block kbuild test robot <lkp@intel.com> - 2015-09-30 20:30 +0200
[RFC PATCH] ASOC: sunxi: sun4i_snd_txctrl_on() can be static kbuild test robot <lkp@intel.com> - 2015-09-30 21:00 +0200
Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block kbuild test robot <lkp@intel.com> - 2015-09-30 21:00 +0200
Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-10-01 22:50 +0200
Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block Code Kipper <codekipper@gmail.com> - 2015-10-02 08:50 +0200
csiph-web