summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/isl6271a-regulator.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2023-09-19 00:50:27 +0200
committerMark Brown <broonie@kernel.org>2023-09-26 17:26:08 +0200
commit6e800968f6a715c0661716d2ec5e1f56ed9f9c08 (patch)
treed233c63f0001f6ace510d0384ab31254ae534e52 /drivers/regulator/isl6271a-regulator.c
parentregulator/core: regulator_register: set device->class earlier (diff)
downloadlinux-6e800968f6a715c0661716d2ec5e1f56ed9f9c08.tar.xz
linux-6e800968f6a715c0661716d2ec5e1f56ed9f9c08.zip
regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
This reverts commit 5f4b204b6b8153923d5be8002c5f7082985d153f. 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 <mirq-linux@rere.qmqm.pl> Link: https://lore.kernel.org/r/d7f469f3f7b1f0e1d52f9a7ede3f3c5703382090.1695077303.git.mirq-linux@rere.qmqm.pl Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/isl6271a-regulator.c')
0 files changed, 0 insertions, 0 deletions