regulator: tps65218: Fix build warnings
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 24 Jun 2014 08:29:16 +0000 (13:59 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:25:13 +0000 (16:25 +0100)
rdev_get_id() returns an int. Convert rid to type int to avoid the
following warnings:
drivers/regulator/tps65218-regulator.c:132:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
drivers/regulator/tps65218-regulator.c:146:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found