extcon: trivial: kfree missed from remove path
authoranish kumar <anish198519851985@gmail.com>
Mon, 22 Oct 2012 01:11:43 +0000 (10:11 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 23 Oct 2012 07:32:17 +0000 (16:32 +0900)
commit44b7bccf7c5372eab3408593ab2142a5dcde03f6
tree7f50aa5545d9e24c7a82bb0a9e2c24fd704b7a6b
parent57e7cd37059bb00cd56b60b95b8799af0db91e18
extcon: trivial: kfree missed from remove path

Extcon core doesn't free the memory when we do unregister.
Kfree is added in the remove path as it was missing.

Signed-off-by: anish kumar <anish198519851985@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-max77693.c