commit | 5204f5e3f5b3c706e52682590de5974a82ea54f9 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Sep 05 08:07:47 2011 -0700 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Sep 05 10:55:58 2011 -0700 |
tree | 3ec502adf5640df58f5f799f1d242944e403d8f0 | |
parent | b33f9cbd67ba1a1c46879ec66467269f09cde8e5 [diff] |
regmap: Remove bitrotted module_put()s The conversion to per bus type registration functions means we don't need to do module_get()s to hold the bus types in memory (their users will link to them) so we removed all those calls. This left module_put() calls in the cleanup paths which aren't needed and which cause unbalanced puts if we ever try to unload anything. Reported-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>