regulator: axp20x: Use of_match name as default regulator name
authorChen-Yu Tsai <wens@csie.org>
Mon, 15 Feb 2016 10:31:22 +0000 (18:31 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Feb 2016 20:02:43 +0000 (20:02 +0000)
commite0bbb38c2f3ae03ec6ee707767b8964df934818e
tree08ee9770030ce793ce962263bf7114ac8ee5f6c0
parent13d57e64352a5d3457d7782bc2f8b576e12b05f3
regulator: axp20x: Use of_match name as default regulator name

Originally the helper macros used uppercase regulator names, which
are primarily used to expand to the regulator ID enum, as the default
names. This is aestheticly unpleasent.

Since the of_match bits are the same, just lowercase, use that as the
default names instead.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c