]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
regulator: lp873x: Drop _nlr parameter from LP873X_REGULATOR()
authorAxel Lin <axel.lin@ingics.com>
Tue, 21 Jun 2016 06:59:11 +0000 (14:59 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jun 2016 17:43:48 +0000 (18:43 +0100)
commit4335f6537a62df50c049427134fe07d9bc6354ab
treede6ccaa84748df6e108ba178f993ef0e0d1739e9
parent1a695a905c18548062509178b98bc91e67510864
regulator: lp873x: Drop _nlr parameter from LP873X_REGULATOR()

No need to pass _nlr to LP873X_REGULATOR(), use ARRAY_SIZE to calculate it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lp873x-regulator.c