[PATCH-V5 2/4] mfd: 88pm800: Remove unnecessary protection around pdata
From: Krzysztof Kozlowski <hidden>
Date: 2015-06-30 00:34:42
Also in:
linux-devicetree, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2015-06-30 00:34:42
Also in:
linux-devicetree, lkml
2015-06-30 0:31 GMT+09:00 Vaibhav Hiremath [off-list ref]:
With addition of proper checks in place in pm800_probe function, which makes sure that pdata would never become NULL. So remove all unnecessary protection around pdata in whole driver code. Signed-off-by: Vaibhav Hiremath <redacted> --- drivers/mfd/88pm800.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Reviewed-by: Krzysztof Kozlowski <redacted> Best regards, Krzysztof