]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: tps65910: Add missing breaks in switch/case
authorAxel Lin <axel.lin@gmail.com>
Sun, 10 Jul 2011 13:44:09 +0000 (21:44 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:01 +0000 (11:40 -0700)
commit94dea7201a65816b802d8c8b8b0877590fd67d7e
tree7eadffb57228733a76730593e57fb49fc569e507
parent8d537b9f6c2bef25dd3ef257be686ebb91629dd6
regulator: tps65910: Add missing breaks in switch/case

commit d04156bca629740a661fd0738cd69ba1f08b2b20 upstream.

Also add a default case in tps65910_list_voltage_dcdc to silence
'volt' may be used uninitialized in this function warning.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/regulator/tps65910-regulator.c