regmap: Fix return code for stub regmap_get_device()
authorMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 18:01:53 +0000 (19:01 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 25 Jul 2014 18:01:53 +0000 (19:01 +0100)
commit1d33dc6b0f0fd1a1f65011f54165c558daf46638
tree82f8b45f2906c8abd6791e5b78287bbe05117568
parentfa2fbe4a981a70866d20cee62af0d89eb6b6027e
regmap: Fix return code for stub regmap_get_device()

We return a pointer, not an int.

Signed-off-by: Mark Brown <broonie@linaro.org>
include/linux/regmap.h