summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorMark Brown2011-06-09 17:22:20 +0200
committerLiam Girdwood2011-06-09 20:14:29 +0200
commitf5726ae33c382366ea1b23240d5620dcf675d81d (patch)
tree131c172eb0e008a682ebeac7f9e393a1642142d3 /drivers/regulator/core.c
parentregulator: Properly register dummy regulator driver (diff)
downloadkernel-qcow2-linux-f5726ae33c382366ea1b23240d5620dcf675d81d.tar.gz
kernel-qcow2-linux-f5726ae33c382366ea1b23240d5620dcf675d81d.tar.xz
kernel-qcow2-linux-f5726ae33c382366ea1b23240d5620dcf675d81d.zip
regulator: Increase the limit on sysfs file names
With verbose filenames we can easily hit 32 characters. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 7b38af90a012..75312bd6aac4 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1033,7 +1033,7 @@ static void unset_regulator_supplies(struct regulator_dev *rdev)
}
}
-#define REG_STR_SIZE 32
+#define REG_STR_SIZE 64
static struct regulator *create_regulator(struct regulator_dev *rdev,
struct device *dev,