diff options
author | Jan Kundrát <jan.kundrat@cesnet.cz> | 2018-01-26 18:06:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-02-12 12:47:24 +0300 |
commit | 1781af563aef66c2eb7cda65d754d2228321a260 (patch) | |
tree | e5a80f9cc589b9ab0c5788b83a35f4ba1eedd7a4 /fs/char_dev.c | |
parent | ed231751413d4f33403f0bf0d5a957b41824f940 (diff) | |
download | linux-1781af563aef66c2eb7cda65d754d2228321a260.tar.xz |
pinctrl: mcp23s08: spi: Fix duplicate pinctrl debugfs entries
This is a bit more involved because the pinctrl core so far always
assumed that one device (with a unique dev_name) only contains a single
pinctrl thing. This is not true for the mcp23s08 driver for chips
connected over SPI. They have a "logical address" which means that
several chips can share one physical CS signal.
A downside of this patch are some possibly ugly names for the debugfs
entries, such as "spi1.1-mcp23xxx-pinctrl.2", etc.
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions