[media] zl10353: use div_u64 instead of do_div
authorArnd Bergmann <arnd@arndb.de>
Fri, 12 Feb 2016 14:27:18 +0000 (12:27 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 6 May 2016 11:44:17 +0000 (08:44 -0300)
commit8a73faab0a6b6c620c62f24fc991d0ad653b848b
tree94239a2e956abe22227941a0c26834fb6947ca59
parent68af062b5f38510dc96635314461c6bbe1dbf2fe
[media] zl10353: use div_u64 instead of do_div

Using div_u64() instead of do_div() makes the code slightly more
readable by humans.

[mchehab@osg.samsung.org: originally, this patch was proposed as a bug
 fix for a gcc bug. This was solved already, but it is still better to
 use div_u64, instead of do_div, so I'm applying it, removing the
 comments about the gcc bug]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/zl10353.c
This page took 0.028617 seconds and 5 git commands to generate.