Tomas Winkler c0b3a8a034 staging/easycap: reduce code duplication for ssa stk settings
reduce code duplication in register settings

instead of
	if (ntsc)
		<CODE BLOCK>
	else
		<CODE BLOCK>
use

	cfg = (ntsc) ? <chip>configNTSC : <chip>configPAL;
	<CODE BLOCK>

in addition change while loops to more readable for loops

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-07 13:52:55 -08:00
..
2011-02-15 15:25:48 -05:00
2011-02-23 14:39:10 -08:00
2011-01-13 08:03:09 -08:00
2011-01-20 21:37:29 +10:30
2011-01-12 04:59:44 -05:00
2011-01-26 10:50:00 +10:00
2011-01-12 05:14:15 -05:00
2011-02-01 16:48:46 +02:00