caif: tty's are kref objects so take a reference
authorAlan Cox <alan@linux.intel.com>
Wed, 7 Apr 2010 23:50:00 +0000 (16:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 23:50:00 +0000 (16:50 -0700)
commite31d5a05948e4478ba8396063d1e1f39880928e2
treec164c122d3b6500b40ea9a695009215714d23ae2
parentc93f09402106f22601838ee2bb0d02bae934b5e5
caif: tty's are kref objects so take a reference

I don't think this can be abused in this case but do things properly.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_serial.c