commit | e350f8045f642dfc4c28a81c57d2103e1f7ceead | [log] [tgz] |
---|---|---|
author | Chanwoo Choi <cw00.choi@samsung.com> | Thu Jun 11 20:19:25 2015 +0900 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Wed Jul 29 17:55:53 2015 +0900 |
tree | 972a3b209043dce6c5235ee472c2384468ba5e76 | |
parent | cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f [diff] |
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>