diff options
author | Sean Wang <sean.wang@mediatek.com> | 2018-06-22 05:49:07 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-14 12:47:04 +0200 |
commit | de227ed7965d06dcfcd06376e03c107004a4881c (patch) | |
tree | e4dd1b6755002d87153f57eca0bde97942ede7a8 /.cocciconfig | |
parent | pinctrl: mt7622: fix that pinctrl_claim_hogs cannot work (diff) | |
download | linux-de227ed7965d06dcfcd06376e03c107004a4881c.tar.xz linux-de227ed7965d06dcfcd06376e03c107004a4881c.zip |
pinctrl: mt7622: stop using the deprecated pinctrl_add_gpio_range
If the pinctrl node has the gpio-ranges property, the range will be added
by the gpio core and doesn't need to be added by the pinctrl driver.
But for keeping backward compatibility, an explicit pinctrl_add_gpio_range
is still needed to be called when there is a missing gpio-ranges in pinctrl
node in old dts files.
Cc: stable@vger.kernel.org
Fixes: d6ed93551320 ("pinctrl: mediatek: add pinctrl driver for MT7622 SoC")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions