diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-09-14 23:19:35 +0530 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-09-29 17:58:42 +0900 |
commit | 4bf27b7038c23fe789aa9bd553a6391cc33ccfa1 (patch) | |
tree | 32f0b47fc16d375c37b3822eead097ff2fee2ad1 /drivers/leds/leds-netxbig.c | |
parent | ff612f9170eaa9ca7ade357b270f582b0c44ed70 (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/leds/leds-netxbig.c')
0 files changed, 0 insertions, 0 deletions