media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()
authorJavi Merino <[email protected]>
Thu, 16 Apr 2015 19:43:54 +0000 (12:43 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Apr 2015 13:03:56 +0000 (09:03 -0400)
commit512eb720c9892261d68f86ba880a55cdbb74710d
tree75152d2defcddc2c2f775f017a6f1e9d2cc56eb5
parentee3c86f356b4dfc130442d0bd68ff2da2bd60538
media: cxd2820r: use DIV_ROUND_CLOSEST_ULL()

Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal
implementation and use the kernel one.

Signed-off-by: Javi Merino <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Acked-by: Antti Palosaari <[email protected]>
Reviewed-by: Antti Palosaari <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/media/dvb-frontends/cxd2820r_c.c
drivers/media/dvb-frontends/cxd2820r_core.c
drivers/media/dvb-frontends/cxd2820r_priv.h
drivers/media/dvb-frontends/cxd2820r_t.c
drivers/media/dvb-frontends/cxd2820r_t2.c