Skip to content
Commit 149ff9e1 authored by Devendra Naga's avatar Devendra Naga Committed by Linus Walleij
Browse files

pinctrl: pinctrl-mxs: set platform driver data to NULL at errpath and at unregister



clear the platform data pointer when mxs_pinctrl_probe_dt fails,
and also before the unregistering with pinctrl subsystem.

Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0bf74818
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