Re: [PATCH v2] extcon: palmas: Fix NULL pointer error

From: Krzysztof Kozlowski
Date: Mon Jun 22 2015 - 19:38:08 EST


2015-06-22 18:52 GMT+09:00 Chanwoo Choi <cwchoi00@xxxxxxxxx>:
> This patch fixes NULL pointer error by removing the unneeded kfree() call
> of edev->name because extcon-palmas no longer allocate the memory for edev->name.
>
> Fixes: d71aadda19f8 ("extcon: Remove the optional name of extcon device")
> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> ---
> Changes from v1:
> - Remove the palmas_usb_remove() due to no operation.

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/