spi: core: use gpio_is_valid() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Oct 2015 09:28:29 +0000 (12:28 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 21 Oct 2015 12:27:37 +0000 (13:27 +0100)
commit243f07be2423efe0b17e8ffafc9a36dad50406d3
tree9ea3ea58dbb9ca116b45e8a179b6faa3729df5fe
parent5ab8d262122bc951b308e51cdcc55bc67b1f5fdb
spi: core: use gpio_is_valid() helper

Check if GPIO pin is valid by API helper function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c