[media] wl128x: fmdrv_rx: fix signedness bugs
authorXi Wang <xi.wang@gmail.com>
Fri, 2 Dec 2011 09:01:12 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 19:01:38 +0000 (17:01 -0200)
commitd24674c60b6fe790a274d4936bcdc8c482bbd9fe
tree2fab29e7b61611bc9b1e82d0dcff6182f5a8b7f3
parenta61278037b57b1d75467dcfeb255584d5f11743d
[media] wl128x: fmdrv_rx: fix signedness bugs

Message-Id: <1322820073-19347-3-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_rx.c
drivers/media/radio/wl128x/fmdrv_rx.h