Skip to content
Commit e350f804 authored by Chanwoo Choi's avatar Chanwoo Choi
Browse files

extcon: palmas: Fix NULL pointer error



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: d71aadda ("extcon: Remove the optional name of extcon device")
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent cbfe8fa6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment