From: Tero Kristo Date: Thu, 16 Feb 2012 10:27:52 +0000 (+0200) Subject: regulator: twl4030: add support for external voltage get/set X-Git-Tag: sz_beta3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e566435463f969d84006b77bbd6968bcd22b40;p=pandora-kernel.git regulator: twl4030: add support for external voltage get/set This is needed for SMPS regulators, which use the OMAP voltage processor for voltage get/set functions instead of the normal I2C channel. For this purpose, regulator_init_data->driver_data contents are expanded, it is now a struct which contains function pointers for the set/get voltage operations, a data pointer for these, and the previously used features bitmask. Signed-off-by: Tero Kristo Acked-by: Samuel Ortiz [for the MFD part] Signed-off-by: Mark Brown --- Reading git-diff-tree failed