Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5726ae3 authored by Mark Brown's avatar Mark Brown Committed by Liam Girdwood
Browse files

regulator: Increase the limit on sysfs file names



With verbose filenames we can easily hit 32 characters.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent c08957a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,