aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max77843.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-06-11 20:19:25 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2015-07-29 17:55:53 +0900
commite350f8045f642dfc4c28a81c57d2103e1f7ceead (patch)
tree972a3b209043dce6c5235ee472c2384468ba5e76 /drivers/extcon/extcon-max77843.c
parentLinux 4.2-rc4 (diff)
downloadlinux-dev-e350f8045f642dfc4c28a81c57d2103e1f7ceead.tar.xz
linux-dev-e350f8045f642dfc4c28a81c57d2103e1f7ceead.zip
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: d71aadda19f8 ("extcon: Remove the optional name of extcon device") Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max77843.c')
0 files changed, 0 insertions, 0 deletions