From: Lee Jones Date: Fri, 7 Jun 2013 16:11:25 +0000 (+0100) Subject: regulator: ab8500-ext: Provide a set_voltage call-back operation X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~26^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33fb880249b1f2f349461c64d19bdfe2e969c1ba;p=pandora-kernel.git regulator: ab8500-ext: Provide a set_voltage call-back operation When registering regulators which have a single voltage through Device Tree, the framework insists that the specified voltage is actually set. Well in order to do that we need to provide this call-back, where we check that the value is sane and return without error. Not that the selector isn't populated, but in our case list_voltage doesn't actually use it, so we're good. Signed-off-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed