spi/s3c64xx: Drop extra calls to spi_master_get in suspend/remove functions
authorGuenter Roeck <linux@roeck-us.net>
Fri, 17 Aug 2012 03:14:25 +0000 (20:14 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Aug 2012 17:19:19 +0000 (10:19 -0700)
commit9a2a52452575a4edf5b91e341d7d87fe2be3474c
tree97faa79e905d12149316f9958e675c61e6ec3324
parent63002e84a80c02b0be0f73932b955755903baabf
spi/s3c64xx: Drop extra calls to spi_master_get in suspend/remove 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. Drop the calls.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-s3c64xx.c