]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Move more deallocation into class unregister
authorMark Brown <broonie@kernel.org>
Fri, 7 Aug 2015 19:01:32 +0000 (20:01 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 Aug 2015 10:01:30 +0000 (11:01 +0100)
commitf5899a2e0394f0e30016b379653a22184cce5465
tree42cce17d27f2cc5fdc696cd05a68f6b2421198f0
parent4ad84ff1b62ca458254505ce9232778522d2a051
regulator: core: Move more deallocation into class unregister

We really ought to be using the class dvice lifetime management features
more than we are rather than open coding them so take a step towards that
by moving some of the simplest deallocations to the dev_release() function.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c