commit | 9d7ebbbf2264c4ad3c8d50fcb84952126184a7ad | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Mon Jun 08 17:16:37 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jun 10 10:44:05 2015 +0200 |
tree | f9b10b71062bfb95a9e82afab792dce5f6e33dcf | |
parent | 1bb6fad359b147645e47cf826bc20e6b5b4d66b2 [diff] |
pinctrl: don't print unavailable function groups There is no reason to try to print groups associated to a function if get_function_groups returns an error. Moreover, it can lead to a NULL pointer dereference error. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>