[media] tlg2300: use correct device parent
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 7 Feb 2013 12:31:33 +0000 (09:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 20:28:49 +0000 (17:28 -0300)
commit919729237f4f1a37bfe0e94a17e7a4bdfa9f5f8e
tree8d7e30158f0b53b2532d5d356b90b0d30b608eb9
parenta61660185b42fabd0b015ff2c26fabbc5e959ff7
[media] tlg2300: use correct device parent

Set the correct parent for v4l2_device_register and don't set the name
anymore (that's now deduced from the parent). Also remove an unnecessary
forward reference and fix two weird looking log messages.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tlg2300/pd-main.c