Skip to content
Commit 5bc5a671 authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Linus Walleij
Browse files

pinctrl: madera: Fix possible NULL pointer with pdata config



If we are being configured via pdata we don't necessarily have
any gpio mappings being configured that way so pdata->gpio_config
could be NULL.

Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 823dd71f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment