summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2013-12-09 14:38:29 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-12-12 22:11:07 +0400
commitc420619d5177ac8f4a624a2ec6d0ed00b8b64ddb (patch)
tree175236d03ab00136798e9a26fec057e16e498f45 /scripts/gdb/linux/utils.py
parent1292e6936658af72c2e585ee8df0b478b4a8c28a (diff)
downloadlinux-c420619d5177ac8f4a624a2ec6d0ed00b8b64ddb.tar.xz
pinctrl: pinconf: remove checks on ops->pin_config_get
ops->pin_config_get() is only used in one specific path that will only be taken for generic pinconf drivers (ops->is_generic == true) when dumping the pinconf by using debugfs. By removing the check in pinconf_check_ops(), let's stop pressuring people to write a pin_config_get() function that will never be used and so will probably never be tested. Removing the check in pinconf_pins_show() allows driver to not implement pin_config_get() but still get a dump of the pinconf in debugfs by implementing pin_config_dbg_show(). Finally, not implementing pin_config_get() now results in returning -ENOTSUPP instead of -EINVAL. While this doesn't have any real impact for now, this feels more right. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions