V4L/DVB (6475): Fix some troubles at list handling
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 29 Oct 2007 20:38:59 +0000 (17:38 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:35 +0000 (19:01 -0200)
- priv->count were wrong. Should be incremented since the first usage;
- forgot to use list_del() to remove the driver;
- Release memory if an error occurs during _attach

Thanks to Aidan Thornton <makosoft@googlemail.com> for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found