spi: gpio: Add local struct device pointer in spi_gpio_probe()
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 3 Apr 2019 04:01:23 +0000 (21:01 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:32:22 +0000 (11:32 +0700)
commit96cad6d78f7f8feac456002020971cba6073bff9
tree9884069261be6bb8933e57d5fe5d15ef371c6518
parent4d9f8fed42694016b015cbfe201effe8aff0d1b3
spi: gpio: Add local struct device pointer in spi_gpio_probe()

Use a local "struct device *dev" in spi_gpio_probe() for brevity. No
functional change intended.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-gpio.c