From: Mauro Carvalho Chehab Date: Mon, 10 Aug 2009 05:57:57 +0000 (-0300) Subject: V4L/DVB (12410): em28xx: Move the non-board dependent part to be outside em28xx_pre_c... X-Git-Tag: v2.6.31-rc7~40^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcd20e3c369caf7a3fec300c9c183b25a06e21b2;p=pandora-kernel.git V4L/DVB (12410): em28xx: Move the non-board dependent part to be outside em28xx_pre_card_setup() em28xx_pre_card_setup() is meant to contain board-specific initialization. Also, as autodetection sometimes occur only after having i2c bus enabled, this function may need to be called later. Moving those setups to happen outside the function avoids calling it twice without need and without duplicating output lines at dmesg. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed