From: Mark Brown Date: Thu, 9 Jun 2011 15:22:20 +0000 (+0100) Subject: regulator: Increase the limit on sysfs file names X-Git-Tag: next-20110726~21^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f5726ae33c382366ea1b23240d5620dcf675d81d;p=karo-tx-linux.git regulator: Increase the limit on sysfs file names With verbose filenames we can easily hit 32 characters. Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- 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,