From: Axel Lin Date: Mon, 1 Apr 2013 15:28:48 +0000 (+0800) Subject: regulator: lp8788: Implement list_voltage for lp8788_ldo_voltage_fixed_ops X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~131^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5366e5edc2014f0c86ed6fdad6fc9c24b7fad2c;p=pandora-kernel.git regulator: lp8788: Implement list_voltage for lp8788_ldo_voltage_fixed_ops For fixed voltage, we can just set min_uV and use regulator_list_voltage_linear for list_voltage callback. Regulator core will call list_voltage(rdev, 0) if both get_voltage get_voltage_sel are not implemented. Thus we can also remove lp8788_ldo_fixed_get_voltage() function. Signed-off-by: Axel Lin Acked-by: Milo Kim Signed-off-by: Mark Brown --- Reading git-diff-tree failed