mirror of https://gitee.com/openkylin/linux.git
[media] radio-si470x-i2c: Delete owner assignment
The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
3a549beef9
commit
ae54913517
|
@ -509,7 +509,6 @@ static SIMPLE_DEV_PM_OPS(si470x_i2c_pm, si470x_i2c_suspend, si470x_i2c_resume);
|
|||
static struct i2c_driver si470x_i2c_driver = {
|
||||
.driver = {
|
||||
.name = "si470x",
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.pm = &si470x_i2c_pm,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue