[media] radio-tea5777.c: Get rid of do_div usage
authorHans de Goede <hdegoede@redhat.com>
Fri, 10 Aug 2012 10:47:25 +0000 (07:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Sep 2012 20:42:09 +0000 (17:42 -0300)
commit4fad5c474f9078dd133996cabaffdb5df8a1e28e
treea41eb2d3470ee04d4031a12a7333c6d434ed81e8
parentfc488517cc0d50bcc9e4ffa90fee5755f9c914fc
[media] radio-tea5777.c: Get rid of do_div usage

freq fits easily into 32 bits until it gets shifted, so make it 32 bits,
and cast it to 64 bits before shifting.

[mchehab@redhat.com: also remove asm/div64.h header, as this is not
 needed anymore]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-tea5777.c