]> git.baikalelectronics.ru Git - 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)
commit11633efcdfca6d0ff91288472bdfd34f3bf24a3f
tree4a0cb26d005e42e10a6680ee5743d61e9e37171c
parenta2f5b2887bbce8cb3ad7fbc3934e153c2d739354
[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