From: Sangjung Woo Date: Mon, 21 Apr 2014 10:10:15 +0000 (+0900) Subject: extcon: arizona: Use devm_extcon_dev_register() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~38^2~21^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d88cc36704e7583214220a6284a9923768b01d2d;p=pandora-kernel.git extcon: arizona: 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 Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed