spi/bcm63xx: don't use the stopping state
authorFlorian Fainelli <florian@openwrt.org>
Fri, 20 Apr 2012 13:37:34 +0000 (15:37 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
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 <florian@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-bcm63xx.c