caif-hsi: Postpone init of HSI until open()
authorsjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com>
Thu, 12 Apr 2012 08:27:27 +0000 (08:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 15:37:37 +0000 (11:37 -0400)
commit39abbaef19cd0a30be93794aa4773c779c3eb1f3
treeea6312f6fcd60550360a362c33185917f3141127
parent2df1fe7f1006f3c1d9ecbe9311701833c63c14cc
caif-hsi: Postpone init of HSI until open()

Do the initialization of the HSI interface when the
interface is opened, instead of upon registration.
When the interface is closed the HSI interface is
de-initialized, allowing other modules to use the
HSI interface.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c