]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94bdaeafd2f10f4f8fc8f1871d140cdd7b6e2e48
tree1f6539f37b28cf99d63805d0a9f81f730a4146c5
parentdb5ed547eb3c8dda3dea6564e7e80ed8a1969f5c
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