[PATCH-V5 2/4] mfd: 88pm800: Remove unnecessary protection around pdata

Krzysztof Kozlowski k.kozlowski at samsung.com
Mon Jun 29 17:34:21 PDT 2015


2015-06-30 0:31 GMT+09:00 Vaibhav Hiremath <vaibhav.hiremath at linaro.org>:
> 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 <vaibhav.hiremath at linaro.org>
> ---
>  drivers/mfd/88pm800.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
>

Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list