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)
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

Simple merge