regulator: missing index in PTR_ERR() in isl6271a_probe()
authorroel kluin <roel.kluin@gmail.com>
Fri, 31 Dec 2010 15:26:47 +0000 (16:26 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:06 +0000 (14:33 +0000)
commitfa63bd4aa53aecc38956cbdd50f8ff9ed0d6d5ba
treee5214c4943a025728e8010695daad1e347ee4f73
parent923430cfee112c5f8223a313f5ec148a27dfed7f
regulator: missing index in PTR_ERR() in isl6271a_probe()

The index is missing so the return is wrong.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/isl6271a-regulator.c