summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cxd2820r_priv.h
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-04-16 21:43:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:03:56 +0200
commit512eb720c9892261d68f86ba880a55cdbb74710d (patch)
tree75152d2defcddc2c2f775f017a6f1e9d2cc56eb5 /drivers/media/dvb-frontends/cxd2820r_priv.h
parentcpuidle: menu: use DIV_ROUND_CLOSEST_ULL() (diff)
downloadlinux-512eb720c9892261d68f86ba880a55cdbb74710d.tar.xz
linux-512eb720c9892261d68f86ba880a55cdbb74710d.zip
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 <javi.merino@arm.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Acked-by: Antti Palosaari <crope@iki.fi> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_priv.h')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_priv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_priv.h b/drivers/media/dvb-frontends/cxd2820r_priv.h
index 7ff5f60c83e1..4b428959b16e 100644
--- a/drivers/media/dvb-frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb-frontends/cxd2820r_priv.h
@@ -64,8 +64,6 @@ int cxd2820r_wr_reg_mask(struct cxd2820r_priv *priv, u32 reg, u8 val,
int cxd2820r_wr_regs(struct cxd2820r_priv *priv, u32 reginfo, u8 *val,
int len);
-u32 cxd2820r_div_u64_round_closest(u64 dividend, u32 divisor);
-
int cxd2820r_wr_regs(struct cxd2820r_priv *priv, u32 reginfo, u8 *val,
int len);