From f7df20ec323009bd2ea8e1c65f11bb43fd526c4f Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 9 Aug 2012 16:42:19 +0100 Subject: [PATCH] regulator: core: Use list_voltage() to read single voltage regulators If the regulator doesn't supply a way of reading back the voltage but does provide a list_voltage() operation then use that with a selector of zero to read the voltage. Regulators doing this means that we have the list operation there for consumers that want to configure themselves. Reported-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-format-patch failed