Re: [PATCH v2 0/2] pinctrl: generic: improve apply_setting error verbosity

From: Matheus Castello
Date: Tue May 01 2018 - 15:10:31 EST


This series is for improve verbosity in debug for error cases using pinconf
generic API. Legacy pinctrl-vendor drivers prints error messages with more
verbosity when parse invalid or not supported sub-nodes properties. In this
series we try to show messages with more information about the pinctrl-vendor
driver and sub-nodes that returned error when applied.

Let me know your opinion about this.

Tested Kbuild for arch/x86_64 arch/arm

Changes since v1:
(Suggested by Linus Walleij)
- Fix errors in Kbuild
- Use CONFIG_OF instead CONFIG_GENERIC_PINCONF for use it only in flatned
device tree enable configurations

Matheus Castello (2):
pinctrl: generic: add API to solve generic sub-node property name
pinctrl: generic: improve apply_setting error verbosity

drivers/pinctrl/pinconf-generic.c | 61 +++++++++++++++++----------------
drivers/pinctrl/pinconf.c | 15 +++++++-
include/linux/pinctrl/pinconf-generic.h | 32 +++++++++++++++++
3 files changed, 77 insertions(+), 31 deletions(-)

--
2.7.4