spi/bcm63xx: don't use the stopping state
authorFlorian Fainelli <[email protected]>
Fri, 20 Apr 2012 13:37:34 +0000 (15:37 +0200)
committerGrant Likely <[email protected]>
Fri, 27 Apr 2012 17:16:46 +0000 (11:16 -0600)
commit1e41dc0ee2f3807328db95e4f87ff1333245190f
tree1f6539f37b28cf99d63805d0a9f81f730a4146c5
parentcde4384e1037c15e5dd04c68d19c75798b6281dd
spi/bcm63xx: don't use the stopping state

We do not need to use a flag to indicate if the master driver is stopping
it is sufficient to perform spi master unregistering in the platform
driver's remove function.

Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
drivers/spi/spi-bcm63xx.c