Skip to content
Commit dcb0574b authored by Charles Keepax's avatar Charles Keepax Committed by Lee Jones
Browse files

mfd: wm831x: Remove redundant !pdata checks



Since a copy of the pdata was added into the core struct in
commit f6dd8449 ("mfd: wm831x: Add basic device tree binding")
the pdata pointer in probe can no longer be NULL. As such remove
the redundant checks for this case.

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 6ae0cc90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment