]> 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)
commite7d7164ed2c77696efdec3d9ac27e22acf56f076
tree1f6539f37b28cf99d63805d0a9f81f730a4146c5
parent8a88c0c1218c8752f86e2f002e03542649494ad4
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