projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
misc: fastrpc: Don't remove map on creater_process and device_release
[platform/kernel/linux-starfive.git]
/
drivers
/
regulator
/
devres.c
diff --git
a/drivers/regulator/devres.c
b/drivers/regulator/devres.c
index
3265e75
..
5c7ff9b
100644
(file)
--- a/
drivers/regulator/devres.c
+++ b/
drivers/regulator/devres.c
@@
-385,7
+385,7
@@
struct regulator_dev *devm_regulator_register(struct device *dev,
if (!ptr)
return ERR_PTR(-ENOMEM);
if (!ptr)
return ERR_PTR(-ENOMEM);
- rdev = regulator_register(regulator_desc, config);
+ rdev = regulator_register(
dev,
regulator_desc, config);
if (!IS_ERR(rdev)) {
*ptr = rdev;
devres_add(dev, ptr);
if (!IS_ERR(rdev)) {
*ptr = rdev;
devres_add(dev, ptr);