From: Krzysztof Kozlowski Date: Mon, 5 Jan 2015 11:48:41 +0000 (+0100) Subject: regulator: Copy config passed during registration X-Git-Tag: fixes-v4.0-rc1~183^2~2^5~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b3de223385d6bf2ab9bf2e9e80aebb26fedd426;p=pandora-kernel.git regulator: Copy config passed during registration Copy the 'regulator_config' structure passed to regulator_register() function so the driver could safely modify it after parsing init data. The driver may want to change the config as a result of specific init data parsed by regulator core (e.g. when core handled parsing device tree). Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- Reading git-diff-tree failed