]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: change result for unsupported API
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 19 Nov 2021 09:02:26 +0000 (10:02 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 1 Dec 2021 18:33:45 +0000 (13:33 -0500)
commit1c01712ac409b06feb36dcac13285e621a700c4e
treee0ed9255357ff4f94adcf9d0bee712e97ff24489
parent2bd8830dfb882c9878dc77bd9ba56b73ea6c323a
pinctrl: change result for unsupported API

Use the return value ENOSYS for unsupported API
- pinctrl_generic_set_state
- pinctrl_select_state

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/pinctrl.h