]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] si2165: Simplify si2165_set_if_freq_shift usage
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 19 Nov 2015 20:03:58 +0000 (18:03 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Dec 2015 14:10:12 +0000 (12:10 -0200)
commit542fb3c56b7e5754fc99c77c1db248851ec503d2
tree4a0cb26d005e42e10a6680ee5743d61e9e37171c
parent75d62fc04626c0c806a441b617c72e288bc35595
[media] si2165: Simplify si2165_set_if_freq_shift usage

si2165_set_if_freq_shift() needs to call get_if_frequency() in order to do
the right shift. Add such logic inside the function, simplifying the logic
for the callers.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/si2165.c