[media] tm6000: rework init code
commit3c61be446ae5c26e2829d37c6b5d02d3af536024
authorDmitri Belimov <d.belimov@gmail.com>
Thu, 13 Jan 2011 03:46:07 +0000 (13 00:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:58 +0000 (19 11:45 -0200)
treef8526535c2c85c76a6b8253640100944c6863f86
parent2400982a2e8a8e4e95f0a0e1517bbe63cc88038f
[media] tm6000: rework init code

Rework device init part. Move common code part to a function.
Usefull for register multiple devices like video, radio, vbi etc.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-video.c