diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-28 13:20:18 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-10-04 09:58:17 +0200 |
commit | e75729b2f63fbdbf776930de8b0eee0d43a68be6 (patch) | |
tree | b45dd7e63765d7303d8361d9808e755473eb36ff /net/unix/unix_bpf.c | |
parent | f4a31facfa80df2f440a2fdc2b7f58d6c23925b0 (diff) |
pinctrl: st: stop abusing of_get_named_gpio()
Pin descriptions for this chip only look like standard GPIO device tree
descriptions, while in fact they contain additional data (in excess of
number of cells specified in description of gpio controllers). They also
refer to only pins/gpios belonging to the driver and not to arbitrary
gpio in the system.
Because we want to stop exporting OF-specific handlers from gpiolib-of,
let's parse the pin reference ourself instead of trying to call
of_get_named_gpio().
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/YzSsgoVoJn4+mSpv@google.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions