Skip to content

Commit

Permalink
regulator: Increase the limit on sysfs file names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Jun 9, 2011
1 parent c08957a commit f5726ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f5726ae

Please sign in to comment.