diff options
author | Jan Kundrát <jan.kundrat@cesnet.cz> | 2019-03-07 16:38:04 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-04 20:04:28 +0300 |
commit | 430c1ce304e4e190a89b065aa75d7a0ea725560b (patch) | |
tree | 255eea5eca1ec8a47206e2749584b9080bb9e1b1 /usr/.gitignore | |
parent | 77bc0e69c3e264214e5234bcde5654f40fe1e7db (diff) | |
download | linux-430c1ce304e4e190a89b065aa75d7a0ea725560b.tar.xz |
pinctrl: mcp23s08: debugfs: remove custom printer
The comment for this dbg_show says that it is supposed to return more
than what the generic code is showing, including de-glitching. That's
wrong because:
- this chip does not support deglitching,
- the code does not print anything extra compared to the generic
handler,
- its behavior is different because it skips unrequested GPIOs; the
generic code prints their names if they're assigned
There is an important difference, though. Previously, dbg_show would
re-check some registers to see if they still match what the regmap
thinks should be in there. This was semi-useful when develpoing the HW
board because it immediately pointed to SPI wiring problem if a CS
connection was missing (0xffs are easy to see). However, I do not think
that this makes much sense -- and one could always do this in some other
way if needed.
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Cc: Phil Reid <preid@electromag.com.au>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions