commit | 3bae4811fb6d0b2849e3129abaf9c116f956c7a3 | [log] [tgz] |
---|---|---|
author | Zhangfei Gao <zhangfei.gao@linaro.org> | Sun Jun 09 11:08:32 2013 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 20 10:37:41 2013 +0200 |
tree | 6e155487d1c1265183074cadb3219b86cee4e621 | |
parent | 61e3884ec1b41ebd0395e7faf856592f228c8724 [diff] |
gpiolib: remove warnning of allocations with IRQs disabled Move of_gpiochip_add outof spin_lock, since kzalloc inside of_gpiochip_add -> of_gpiochip_add_pin_range -> gpiochip_add_pin_range -> kzalloc WARNING: at kernel/lockdep.c:2740 lockdep_trace_alloc+0xf8/0xfc() DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags)) Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>