[media] radio-tea5764: some cleanups and clamp frequency when out-of-range
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 31 May 2013 09:19:04 +0000 (06:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:29:56 +0000 (09:29 -0300)
commitb73008920a69669d253b2f9268f9f51884684718
treec8e45a04ac30d6fc6c01068896737a7a69f54c1a
parent090fdf6af8d1baafcdaf44796058f62a73a637bf
[media] radio-tea5764: some cleanups and clamp frequency when out-of-range

Some small cleanups and when setting the frequency it is now clamped
to the valid frequency range instead of returning an error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Fabio Belavenuto <belavenuto@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-tea5764.c