spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions
commitaf36107968f1b5faab0e4a0cc44fa4498c63f017
authorGuenter Roeck <linux@roeck-us.net>
Fri, 17 Aug 2012 03:26:00 +0000 (16 20:26 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Aug 2012 21:46:41 +0000 (17 22:46 +0100)
tree1be6443cd2b32be4847257515be595afe8acbb7f
parenta0c3652caa357b8f4e76efe401646ef298483cd9
spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions

Suspend and resume functions call spi_master_get() without matching
spi_master_put(). The extra references are unnecessary and cause
subsequent module unload attempts to fail, so drop the calls.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-coldfire-qspi.c