regulator: tps62360: Remove pointless test for unsigned less than zero
authorAxel Lin <axel.lin@gmail.com>
Tue, 7 Feb 2012 03:06:20 +0000 (11:06 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:40 +0000 (20:48 +0000)
commit46783a046e13588f0459271ad6db9785fa8dcb8b
treef0944269fb2ccd3570d6f36b18e65ee41a5dbb0b
parent22cd2fefba7bddd31dad892f5923854defac0da2
regulator: tps62360: Remove pointless test for unsigned less than zero

The variable 'selector' is a 'unsigned int', so it can never be less than zero.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps62360-regulator.c