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)
commit5f986f7c2b878142f80cc23391631a71772692a8
treea99cc48a4ddb801420d00c9d92ce23e5061a616b
parent7171511eaec5bf23fb06078f59784a3a0626b38f
regulator: tps65218: Fix build warnings

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>
drivers/regulator/tps65218-regulator.c