]> git.karo-electronics.de Git - linux-beck.git/commit
regmap: Make return code checks consistent
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Oct 2012 16:39:13 +0000 (17:39 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Oct 2012 01:00:00 +0000 (10:00 +0900)
commit0ff3e62ff119f2b65b0a8ad48fcb669f609fd904
tree5562bd2118d59c0e4db00c03a1a64abea7887d39
parent98bc7dfd76407eaa0964ecb4d5319c957a3b9df9
regmap: Make return code checks consistent

The range code was written to check for return codes less than zero as
errors but throughout the rest of the API return codes not equal to zero
are errors. Change all these checks to match the house style.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c