media: serial_ir: fix tx timing calculation on 32-bit
authorSean Young <sean@mess.org>
Wed, 23 Aug 2017 15:06:04 +0000 (11:06 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 31 Aug 2017 09:36:42 +0000 (05:36 -0400)
commitfce4b371fe5c99a9c05db8493d72f0d1a474ab26
treee328a93bd963b5a46f7057cdc8e178ed01690ec5
parent766cbb31893108850f898fa3616d57c59b584354
media: serial_ir: fix tx timing calculation on 32-bit

Move the calculation to where it is needed, so the result doesn't
need to be stored in the device struct.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/serial_ir.c