Commit 6e80096
regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
This reverts commit 5f4b204.
Since rdev->dev now has a release() callback, the proper way of freeing
the initialized device can be restored.
Signed-off-by: Michał Mirosław <[email protected]>
Link: https://lore.kernel.org/r/d7f469f3f7b1f0e1d52f9a7ede3f3c5703382090.1695077303.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <[email protected]>1 parent 8adb4e6 commit 6e80096
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5724 | 5724 | | |
5725 | 5725 | | |
5726 | 5726 | | |
5727 | | - | |
5728 | | - | |
5729 | 5727 | | |
5730 | 5728 | | |
5731 | 5729 | | |
5732 | | - | |
5733 | | - | |
5734 | | - | |
5735 | 5730 | | |
| 5731 | + | |
5736 | 5732 | | |
5737 | 5733 | | |
5738 | 5734 | | |
| |||
0 commit comments