From: Sangjung Woo Date: Mon, 21 Apr 2014 10:10:12 +0000 (+0900) Subject: extcon: max77693: Use devm_extcon_dev_register() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~38^2~21^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fae1184d00f09696078e572230402543ae34c8;p=pandora-kernel.git extcon: max77693: Use devm_extcon_dev_register() Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangjung Woo Reviewed-by: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed