summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pcap-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-11 12:57:17 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-01-12 15:33:00 +0100
commit7bed08c56540825ab9c7909a12e9b5bcdafa62ba (patch)
tree20014ae1dda743e0f6acf076739f5a1f09f5450b /drivers/regulator/pcap-regulator.c
parentregulator: enable supply regulator only when use count is zero (diff)
downloadlinux-7bed08c56540825ab9c7909a12e9b5bcdafa62ba.tar.xz
linux-7bed08c56540825ab9c7909a12e9b5bcdafa62ba.zip
regulator: Fix typo in PCAP regulator_set_voltage()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/pcap-regulator.c')
-rw-r--r--drivers/regulator/pcap-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c
index 8dca11694f75..31f6e11a7f16 100644
--- a/drivers/regulator/pcap-regulator.c
+++ b/drivers/regulator/pcap-regulator.c
@@ -152,7 +152,7 @@ static struct pcap_regulator vreg_table[] = {
static int pcap_regulator_set_voltage(struct regulator_dev *rdev,
int min_uV, int max_uV,
- unsiged *selector)
+ unsigned *selector)
{
struct pcap_regulator *vreg = &vreg_table[rdev_get_id(rdev)];
void *pcap = rdev_get_drvdata(rdev);