extcon: Convert extcon_gpio to devm_gpio_request_one
authorAxel Lin <axel.lin@gmail.com>
Sat, 16 Jun 2012 03:56:24 +0000 (11:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Jun 2012 23:40:18 +0000 (16:40 -0700)
commit01eaf2458773b276e219a48df69351d230c63d0b
treead72da22732b5844b8cc564d8a30fa2e62b5f70e
parentb945f3fa829a7315488f4d39a866dfbb29e8a49a
extcon: Convert extcon_gpio to devm_gpio_request_one

Also remove unneeded devm_kfree calls.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon_gpio.c