mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/bridge: ptn3460: Fix coccinelle warnings
The platform_no_drv_owner.cocci coccinelle script generates the following warning: drivers/gpu/drm/bridge/nxp-ptn3460.c:403:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically. Patch generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
ab0162b8fd
commit
f1811a8a64
1 changed files with 0 additions and 1 deletions
|
@ -400,7 +400,6 @@ static struct i2c_driver ptn3460_driver = {
|
||||||
.remove = ptn3460_remove,
|
.remove = ptn3460_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "nxp,ptn3460",
|
.name = "nxp,ptn3460",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = ptn3460_match,
|
.of_match_table = ptn3460_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue