diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 01:44:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-14 13:48:19 -0400 |
commit | 736050c4c11a4907d381672d5396485045d78bab (patch) | |
tree | e817291c4ac7c7807ed0593f6f11eb5044d3d4d8 | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) |
regulator: da9062: Drop owner assignment from platform_driver
platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/da9062-regulator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/da9062-regulator.c b/drivers/regulator/da9062-regulator.c index dd76da09b3c7..5638fe8d759d 100644 --- a/drivers/regulator/da9062-regulator.c +++ b/drivers/regulator/da9062-regulator.c | |||
@@ -818,7 +818,6 @@ static int da9062_regulator_probe(struct platform_device *pdev) | |||
818 | static struct platform_driver da9062_regulator_driver = { | 818 | static struct platform_driver da9062_regulator_driver = { |
819 | .driver = { | 819 | .driver = { |
820 | .name = "da9062-regulators", | 820 | .name = "da9062-regulators", |
821 | .owner = THIS_MODULE, | ||
822 | }, | 821 | }, |
823 | .probe = da9062_regulator_probe, | 822 | .probe = da9062_regulator_probe, |
824 | }; | 823 | }; |