spi: bcm53xx: Adjust devm usage
authorVaishali Thakkar <vthakkar1994@gmail.com>
Thu, 20 Aug 2015 17:58:38 +0000 (23:28 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 16:42:28 +0000 (17:42 +0100)
commit6774eea6d7a61616384743b218cf77f322e060d9
treeddd78174995e2756687344f3ff8b6b68a19cd0be
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: bcm53xx: Adjust devm usage

Remove use of spi_unregister_master in remove function as
devm_spi_register_master in probe function automatically
handles it. To be compatible with the change, use direct
return instead of goto and remove unnedded label out.

Also, remove bcm53xxspi_bcma_remove as it is now redundant.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm53xx.c