diff options
author | Stephen Boyd <swboyd@chromium.org> | 2020-02-04 22:12:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-11 14:36:12 +0300 |
commit | ea1e5b3354b1610ac16a780535fbdabfda9e6912 (patch) | |
tree | e0ca243beacb1c7807b21d65b1510116293afff1 /drivers/spi/spi-stm32-qspi.c | |
parent | ece9ef3b60cbc36237138af456b236d3d1d9b771 (diff) | |
download | linux-ea1e5b3354b1610ac16a780535fbdabfda9e6912.tar.xz |
spi: spi-geni-qcom: Grow a dev pointer to simplify code
Some lines are long here. Use a struct dev pointer to shorten lines and
simplify code. The clk_get() call can fail because of EPROBE_DEFER
problems too, so just remove the error print message because it isn't
useful.
Cc: Girish Mahadevan <girishm@codeaurora.org>
Cc: Dilip Kota <dkota@codeaurora.org>
Cc: Alok Chauhan <alokc@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200204191206.97036-3-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-stm32-qspi.c')
0 files changed, 0 insertions, 0 deletions