]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee232dca68eedac79f49f53fcf6c8f92bbe27ae5
tree5306d989eae95ae6e81731709dd7f0900f05ef47
parent1386d2af13b0b2ba423da1adf79ceabb7ea834e9
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