[media] tvp5150: device detection should be done only once
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Feb 2011 03:10:22 +0000 (00:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:04 +0000 (20:32 -0300)
commit0e09a3c92bfd54a6ac03f8225c4fd10f50111beb
treea053d9d5bb646bfe2a2826b4ff22c0a4078025ca
parent437f5fa34225db0d981536692678afc590e5c87f
[media] tvp5150: device detection should be done only once

Having the device detection happening at reset is bad, as every time,
it will produce a message like:
tvp5150 2-005c: tvp5150am1 detected.

This only polutes the log and for an accidental kernel hacker, it looks
like a real problem. So, move those printk's to happen during device
probe.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvp5150.c