regulator: Increase the limit on sysfs file names
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Jun 2011 15:22:20 +0000 (16:22 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 9 Jun 2011 18:14:29 +0000 (19:14 +0100)
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>
drivers/regulator/core.c

index 7b38af9..75312bd 100644 (file)
@@ -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,