diff options
author | Pritesh Raithatha <praithatha@nvidia.com> | 2012-05-22 12:50:04 +0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-06-20 07:48:37 +0400 |
commit | ecb7a8ebdc4b063715d5a37919f9118c3f1031a8 (patch) | |
tree | 9aa3d1378c9d08bdf389d74b2638a695bd800ef2 /crypto/proc.c | |
parent | 9903e62700a122a366ad4c9be8f8f97115cf9a68 (diff) | |
download | linux-ecb7a8ebdc4b063715d5a37919f9118c3f1031a8.tar.xz |
gpio-charger: Use cansleep version of gpio_set_value
Context of gpio_charger_get_property is sleepable so we should
use gpio_set_value_cansleep instead of gpio_set_value.
It will remove WARN_ON incase of using gpio from i2c-to-gpio
expander like pca953x.
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions