[media] imon: clean up disconnect routine
authorJarod Wilson <jarod@redhat.com>
Thu, 28 Apr 2011 21:20:58 +0000 (18:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 18:56:41 +0000 (15:56 -0300)
commit76a2d21d96fba4d0e94cf191eb3716ea7c4916e8
tree8b9edeed09b1b43939059997f868a78e0b619ef3
parent46872d27dadb9d7401d8edc20393e443c573526f
[media] imon: clean up disconnect routine

- Eliminate a possible circular locking lockdep warning
- Make sure we don't try to unregister a vfd on a device w/a vga screen
- Always free imon context after devices are removed (display_close can
  just error out w/no context)

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/imon.c