[media] gspca: Don't use video_device_node_name in v4l2_device release handler
authorHans de Goede <hdegoede@redhat.com>
Sat, 7 Jul 2012 15:11:57 +0000 (12:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 21:42:10 +0000 (18:42 -0300)
commit0dddf838694c5e5db8b602d4282447c0e2b943a4
treee8b79c31170c8fa056d9c5412b344c05d4b8a963
parent872099e806b5693df2f7b4876821b9105e8506f8
[media] gspca: Don't use video_device_node_name in v4l2_device release handler

When the v4l2_device release handler gets called the kobject under
vdev->dev has already been released, so we cannot use kobject_name on
it (which video_device_node_name does).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c