]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: pfuze100: Add terminate entry for [i2c|of]_device_id tables
authorAxel Lin <axel.lin@ingics.com>
Tue, 4 Mar 2014 10:20:14 +0000 (18:20 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:16 +0000 (21:17 -0600)
commitae28065a877ce01cd24658e35678e24c05d23285
tree9fd2a2ef6b0e1eb1bb6fee8cbc28f3f8f7a4ab77
parent695fab41ca8a5c1f4714fa6a17b9b3ca4e0e1557
regulator: pfuze100: Add terminate entry for [i2c|of]_device_id tables

Also remove PFUZE_NUM to avoid below build warnings:

  CC [M]  drivers/regulator/pfuze100-regulator.o
drivers/regulator/pfuze100-regulator.c:86:2: warning: excess elements in array initializer [enabled by default]
drivers/regulator/pfuze100-regulator.c:86:2: warning: (near initialization for 'pfuze_device_id') [enabled by default]
drivers/regulator/pfuze100-regulator.c:93:2: warning: excess elements in array initializer [enabled by default]
drivers/regulator/pfuze100-regulator.c:93:2: warning: (near initialization for 'pfuze_dt_ids') [enabled by default]

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit e6c4c3378d82c5eeb136ed06b1a23651bcdaf739)
drivers/regulator/pfuze100-regulator.c