diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-06-11 20:19:25 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-07-29 17:55:53 +0900 |
commit | e350f8045f642dfc4c28a81c57d2103e1f7ceead (patch) | |
tree | 972a3b209043dce6c5235ee472c2384468ba5e76 /tools/iio/iio_utils.h | |
parent | cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f (diff) | |
download | linux-stable-e350f8045f642dfc4c28a81c57d2103e1f7ceead.tar.gz linux-stable-e350f8045f642dfc4c28a81c57d2103e1f7ceead.tar.bz2 linux-stable-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 'tools/iio/iio_utils.h')
0 files changed, 0 insertions, 0 deletions