mfd: wm831x: Remove redundant !pdata checks
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 15 May 2017 12:51:24 +0000 (13:51 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:11 +0000 (08:29 +0100)
commitdcb0574b4b15e197e4ab2b503efcfa5eb172083d
treed65293718c786483ad5828ad630affb44c84f5a4
parent6ae0cc90d9e7c026d0a342403f0cd559f743edab
mfd: wm831x: Remove redundant !pdata checks

Since a copy of the pdata was added into the core struct in
commit f6dd8449cd50 ("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: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wm831x-core.c