summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-rt8973a.c
diff options
context:
space:
mode:
authorVaishali Thakkar <vthakkar1994@gmail.com>2015-09-14 23:19:35 +0530
committerChanwoo Choi <cw00.choi@samsung.com>2015-09-29 17:58:42 +0900
commit4bf27b7038c23fe789aa9bd553a6391cc33ccfa1 (patch)
tree32f0b47fc16d375c37b3822eead097ff2fee2ad1 /drivers/extcon/extcon-rt8973a.c
parentff612f9170eaa9ca7ade357b270f582b0c44ed70 (diff)
extcon: axp288: Convert to using managed resources
Use resource managed functions devm_usb_get_phy and devm_gpio_request to make error path simpler. To be compatible the change, various gotos are replaced with direct returns and unnecessary label gpio_req_failed is dropped. Also, remove function axp288_extcon_remove as it is now redundant. Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-rt8973a.c')
0 files changed, 0 insertions, 0 deletions