commit | 1020dfd15b2363bf652851c490a27a550070346e | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Jun 14 19:07:05 2016 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 23 11:07:11 2016 +0200 |
tree | b88e6f4fc70825e95c495318f7767f79710ae1d3 | |
parent | be715343011b80a8da71ff978b50981984f037b9 [diff] |
gpio: of: move chip->of_gpio_n_cells checking to of_gpiochip_add() Do this sanity check only once when the gpio_chip is added rather than every time gpio-hog is handled. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>