From: Javier Martinez Canillas Date: Wed, 15 Jul 2015 14:10:28 +0000 (+0200) Subject: regulator: core: Increase refcount for regulator supply's module X-Git-Tag: omap-for-v4.3/fixes-merge-window~196^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c09ae7a74d94222187edbe8f5cf1fa9364efcd;p=pandora-kernel.git regulator: core: Increase refcount for regulator supply's module When a regulator is unregistered with regulator_unregister(), a call to regulator_put() is made for its input supply if there is one. This does a module_put() to decrement the refcount of the module that owns the supply but there isn't a corresponding try_module_get() in set_supply() to make the calls balanced. Signed-off-by: Javier Martinez Canillas Signed-off-by: Mark Brown --- Reading git-diff-tree failed