commit | dcb0574b4b15e197e4ab2b503efcfa5eb172083d | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Mon May 15 13:51:24 2017 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Jul 06 08:29:11 2017 +0100 |
tree | d65293718c786483ad5828ad630affb44c84f5a4 | |
parent | 6ae0cc90d9e7c026d0a342403f0cd559f743edab [diff] |
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>