Ludovic Desroches 9d7ebbbf22 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>
2015-06-10 10:44:05 +02:00
..
2015-06-04 10:12:42 +02:00
2015-06-04 10:12:42 +02:00
2015-04-07 11:44:40 +02:00
2015-06-04 10:12:42 +02:00
2014-12-14 16:10:09 -08:00
2015-06-04 10:12:42 +02:00
2014-10-29 09:28:35 +01:00