commit | fcba212de9bdf1016d981c355df29ab169da8eae | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Mar 04 12:59:53 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 10 11:23:37 2014 +0000 |
tree | ab61ad628cebe33564c86624d12c726d4843e8bd | |
parent | bf5c2e27036cffda6e20f445391a4d4e1ccc232e [diff] |
spi: clps711x: Provide label argument for devm_gpio_request The label argument was removed by commit 989847967cd762 spi: clps711x: Use devm_gpio_request(), add it back. This makes it easier to know the gpio usage in /sys/kernel/debug/gpio. Also remove unnecessary gpio_is_valid() checking, devm_gpio_request() returns error if the requested gpio is invalid. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>