Re: [PATCH 2/2] regulator: tps65218: Fix build warnings

From: Mark Brown
Date: Tue Jun 24 2014 - 11:25:41 EST


On Tue, Jun 24, 2014 at 01:59:16PM +0530, Sachin Kamat wrote:
> 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]

Applied, thanks.

Attachment: signature.asc
Description: Digital signature