spi: tegra114: set master cleanup and also invoke it on probe error
authorSowjanya Komatineni <skomatineni@nvidia.com>
Thu, 23 May 2019 01:29:04 +0000 (18:29 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 23 May 2019 13:39:46 +0000 (14:39 +0100)
commit0e896f380b845d3fb889f27eb6026cd494bb3cd8
treeeb0f35e58c024f14829cbb76a138d23960201d55
parentcc0f6e96c4fd01fe1f935014c8c87ac6e994324c
spi: tegra114: set master cleanup and also invoke it on probe error

This patch sets master cleanup and also invokes tegra spi clean on
tegra spi probe failure to release tegra spi client data.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra114.c