mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
UPSTREAM: 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>
Change-Id: I7a2e347e07943c7eb5b2c9cae4eae2358a613e0e
(cherry picked from commit 556ae220ac)
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
committed by
Elaine Zhang
parent
b9a407b658
commit
311f428933
@@ -533,8 +533,7 @@ static int rk808_regulator_probe(struct platform_device *pdev)
|
||||
static struct platform_driver rk808_regulator_driver = {
|
||||
.probe = rk808_regulator_probe,
|
||||
.driver = {
|
||||
.name = "rk808-regulator",
|
||||
.owner = THIS_MODULE,
|
||||
.name = "rk808-regulator"
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user