extcon: Convert extcon_gpio to devm_gpio_request_one
authorAxel Lin <[email protected]>
Sat, 16 Jun 2012 03:56:24 +0000 (11:56 +0800)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/extcon/extcon_gpio.c