summaryrefslogtreecommitdiff
path: root/include
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-15 08:56:46 +0900
commitb3792ea458879b0269891f9dab0ec2ec7086d8ff (patch)
tree9036f8d23b08ff718ea17b489845d1b42da42a7e /include
parenta9c5adda5c210204ad2050d7f7eaf8e4e0781c22 (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 'include')
0 files changed, 0 insertions, 0 deletions