commit | 3708903ee60b1b89cbeee00cbc76e9fdbcbbed2e | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Dec 10 08:55:53 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Dec 10 23:12:41 2012 +0900 |
tree | 88fc1702d7545db8aa84e6db2da5c166a599404e | |
parent | ad0b8b9e82b63ad2cc5e6822448adc897f49a5c4 [diff] |
regulator: gpio-regulator: gpio_set_value should use cansleep If it's possible for gpio_set_value to sleep, we should be using the *_cansleep call instead. This patch fixes multiple warnings from gpiolib. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>