From: Charles Keepax Date: Thu, 5 Mar 2015 15:39:20 +0000 (+0000) Subject: regulator: core: Add devres versions of notifier registration X-Git-Tag: omap-for-v4.2/o2_dc~165^2~1^3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=046db763aaaeb987ea01ea8c7e6d618e0ad1e6b8;p=pandora-kernel.git regulator: core: Add devres versions of notifier registration Add devm_regulator_register_notifier, this adds the resource against the device for the consumer supply we are registering the notifier for. There seem to be few use-cases where this wouldn't be the users intention and this ensures the notifiers will always be removed at the correct time. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown --- Reading git-diff-tree failed