diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-06-11 13:19:25 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-07-29 10:55:53 +0200 |
commit | e350f8045f642dfc4c28a81c57d2103e1f7ceead (patch) | |
tree | 972a3b209043dce6c5235ee472c2384468ba5e76 /block/ioprio.c | |
parent | Linux 4.2-rc4 (diff) | |
download | linux-e350f8045f642dfc4c28a81c57d2103e1f7ceead.tar.xz linux-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 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions