spi: clps711x: Use devm_gpio_request()
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 10 Jan 2014 13:02:05 +0000 (17:02 +0400)
committerMark Brown <broonie@linaro.org>
Fri, 10 Jan 2014 13:27:24 +0000 (13:27 +0000)
commit989847967cd762598ff0caa2aafc4ddcb04bcda3
tree5306d989eae95ae6e81731709dd7f0900f05ef47
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: clps711x: Use devm_gpio_request()

This patch replaces gpio_request() with devm_ API.
As a result this simplifies error path and eliminates "remove"
function.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-clps711x.c