regulator: tps65217: Fix build warnings
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 24 Jun 2014 08:29:15 +0000 (13:59 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:23:00 +0000 (16:23 +0100)
commit6bdaaf0e5db1bc16fed8b9770a272957669cd99b
treeff767422eed521985c0271b8a30bfeb483fa4c22
parent7171511eaec5bf23fb06078f59784a3a0626b38f
regulator: tps65217: Fix build warnings

rdev_get_id() returns an int. Convert rid to type int to avoid the
following warnings:

drivers/regulator/tps65217-regulator.c:73:10: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
drivers/regulator/tps65217-regulator.c:87: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/tps65217-regulator.c