mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
regulator: rk808: 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: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
29b4817d40
commit
556ae220ac
1 changed files with 1 additions and 2 deletions
|
|
@ -533,8 +533,7 @@ static int rk808_regulator_probe(struct platform_device *pdev)
|
||||||
static struct platform_driver rk808_regulator_driver = {
|
static struct platform_driver rk808_regulator_driver = {
|
||||||
.probe = rk808_regulator_probe,
|
.probe = rk808_regulator_probe,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rk808-regulator",
|
.name = "rk808-regulator"
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue