spi: spi-geni-qcom: Simplify probe function
authorAlok Chauhan <alokc@codeaurora.org>
Thu, 25 Oct 2018 16:40:29 +0000 (22:10 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:53:52 +0000 (11:53 +0000)
commit6a34e285de9afc4441ee81ce76865acd30ed9263
tree12e7c673a0f833cc77e176964b5619160d257814
parent0dccff3ce73aa6e9b1b4b0ddb3831c1d7fde9507
spi: spi-geni-qcom: Simplify probe function

Re-arrange existing APIs in probe function to
avoid using goto and remove redundant variables.

Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-geni-qcom.c