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

2015-06-22 Thread Krzysztof Kozlowski
2015-06-22 18:52 GMT+09:00 Chanwoo Choi : > 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:

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

2015-06-22 Thread Chanwoo Choi
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 --- Changes from v1: - Remove the palm