caif-spi: Bugfix for dump upon device removal
authorErwan Bracq <erwan.bracq@stericsson.com>
Tue, 6 Dec 2011 07:25:05 +0000 (07:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:34:12 +0000 (13:34 -0500)
commitd5f43c1ea4260807a894150b680fa0a0dd386259
treec777acc31527351630775b1a3f4b5c33322ecb84
parent9e998a7550b41b303c5aa5351e66ccd56f2e4c50
caif-spi: Bugfix for dump upon device removal

Fix dump upon device removal, by moving deinitialization from
platform-device-remove to network-interface-uninit.

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