V4L/DVB (13088): cx25840: Convert chip/core family checks to static inline functions
authorAndy Walls <awalls@radix.net>
Sun, 27 Sep 2009 02:47:21 +0000 (23:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:17 +0000 (18:40 -0200)
commit2a03f03471d3232037e656570ccaf3ff2ffd01e8
treeaeb169037d4323ec62b1d3362f784e5072242f5d
parentc7dd1ecdc0112b9700ed6ad20a6e4e07d125044b
V4L/DVB (13088): cx25840: Convert chip/core family checks to static inline functions

Change logic to check for various chip or core families to inline functions.
Checks for specific chips should be made against the state->id field now.  This
is in preparation for chip/core specific code for setting up PLLs for the
CX2388[578] family of cores, that all run with different crystal frequencies.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-audio.c
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840-core.h
drivers/media/video/cx25840/cx25840-firmware.c