From: Sachin Kamat Date: Tue, 24 Jun 2014 08:29:15 +0000 (+0530) Subject: regulator: tps65217: Fix build warnings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~156^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bdaaf0e5db1bc16fed8b9770a272957669cd99b;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed