projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8ce200
)
ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
author
kbuild test robot
<fengguang.wu@intel.com>
Wed, 26 Aug 2015 11:44:10 +0000
(19:44 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 26 Aug 2015 12:00:59 +0000
(13:00 +0100)
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
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_max98090.c
patch
|
blob
|
history
diff --git
a/sound/soc/rockchip/rockchip_max98090.c
b/sound/soc/rockchip/rockchip_max98090.c
index
acace20
..
562e7ea
100644
(file)
--- 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_driver = {
.probe = snd_rk_mc_probe,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = rockchip_max98090_of_match,
},