projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d770e55
)
regulator: da9062: Drop owner assignment from platform_driver
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:44:01 +0000
(14:44 +0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 14 Jul 2015 17:48:19 +0000
(18:48 +0100)
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>
drivers/regulator/da9062-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/da9062-regulator.c
b/drivers/regulator/da9062-regulator.c
index dd76da09b3c7ffbb7cb3abb972c887c684b1bff0..5638fe8d759d745e11e3c14fbb173f0a2efd1912 100644
(file)
--- 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)
static struct platform_driver da9062_regulator_driver = {
.driver = {
.name = "da9062-regulators",
- .owner = THIS_MODULE,
},
.probe = da9062_regulator_probe,
};