]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: tps65218: drop order dependency
authorFelipe Balbi <balbi@ti.com>
Tue, 8 Jul 2014 19:09:14 +0000 (14:09 -0500)
committerMark Brown <broonie@linaro.org>
Wed, 9 Jul 2014 08:29:19 +0000 (10:29 +0200)
commit6a5e06d9f4443c6f967ea7352cf30abdd681accf
tree4c76b1f22dedbd30842c67e3798bc3d9038dfba9
parentdd648ef2471602d5fc1ec80a546eb0c3f57ca172
regulator: tps65218: drop order dependency

By just using GCC's array initialization extension, we
can easily drop order dependency between tps65218_regulattors
enumeration and tps65218_pmic_regs array.

Signed-of-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65218-regulator.c