]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/media/video/pvrusb2/pvrusb2-sysfs.c
V4L/DVB (4373): Correctly handle sysfs error leg file removal in pvrusb2
authorMike Isely <isely@pobox.com>
Sun, 23 Jul 2006 00:26:30 +0000 (21:26 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 29 Jul 2006 20:22:37 +0000 (17:22 -0300)
commit08d41808362a3663c0856c9720ad940a61156fb5
treeec0da5edd1cb3351b0dd253baad83aac7f9958a3
parentd94fc9a08e51432d0d5fc0f74a4f705d7b49c251
V4L/DVB (4373): Correctly handle sysfs error leg file removal in pvrusb2

Take note of which sysfs files / groups that the pvrusb2 successfully
creates and only delete those specific items when tearing things
down.  (Previously we just blindly tore everything down every time.)

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-sysfs.c