* [PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
[not found] <201508261907.XaXhY7JN%fengguang.wu@intel.com>
@ 2015-08-26 11:44 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-08-26 11:44 UTC (permalink / raw)
To: linux-arm-kernel
sound/soc/rockchip/rockchip_max98090.c:225: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: zhengxing <zhengxing@rock-chips.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
rockchip_max98090.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/rockchip/rockchip_max98090.c
+++ b/sound/soc/rockchip/rockchip_max98090.c
@@ -222,7 +222,6 @@ static struct platform_driver snd_rk_mc_
.probe = snd_rk_mc_probe,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = rockchip_max98090_of_match,
},
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
[not found] <201508261911.CXlWEwle%fengguang.wu@intel.com>
@ 2015-08-26 11:48 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-08-26 11:48 UTC (permalink / raw)
To: linux-arm-kernel
sound/soc/rockchip/rockchip_rt5645.c:214: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: zhengxing <zhengxing@rock-chips.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
rockchip_rt5645.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/rockchip/rockchip_rt5645.c
+++ b/sound/soc/rockchip/rockchip_rt5645.c
@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_
.probe = snd_rk_mc_probe,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = rockchip_rt5645_of_match,
},
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-26 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201508261911.CXlWEwle%fengguang.wu@intel.com>
2015-08-26 11:48 ` [PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings kbuild test robot
[not found] <201508261907.XaXhY7JN%fengguang.wu@intel.com>
2015-08-26 11:44 ` kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).