[media] wl128x: fmdrv_tx: fix signedness bugs
authorXi Wang <xi.wang@gmail.com>
Fri, 2 Dec 2011 09:01:13 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 19:01:52 +0000 (17:01 -0200)
commit8cc20dd89c9ec807b169c8db42192377da470acc
tree239fc368684a57f517d5b615ad323fc23658c80e
parentd24674c60b6fe790a274d4936bcdc8c482bbd9fe
[media] wl128x: fmdrv_tx: fix signedness bugs

Message-Id: <1322820073-19347-4-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_tx.c
drivers/media/radio/wl128x/fmdrv_tx.h