[media] wl128x: fmdrv_common: fix signedness bugs
authorXi Wang <xi.wang@gmail.com>
Fri, 2 Dec 2011 09:01:11 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 19:00:56 +0000 (17:00 -0200)
commita61278037b57b1d75467dcfeb255584d5f11743d
treed07d4924dda3b4de16e5e6a1abbd5a2d79cca33d
parent27d3e366091b13c26d5d996709fd9d99858455eb
[media] wl128x: fmdrv_common: fix signedness bugs

Message-Id: <1322820073-19347-2-git-send-email-xi.wang@gmail.com>

The error handling with (ret < 0) didn't work where ret is a u32.
Use int instead.  To be consistent we also change the functions to
return an int.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/wl128x/fmdrv_common.c
drivers/media/radio/wl128x/fmdrv_common.h