Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224556

Re: [PATCH] extcon: axp288: Convert to using managed resources

From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] extcon: axp288: Convert to using managed resources
Date 2015-09-15 02:10 +0200
Message-ID <q8LYS-530-35@gated-at.bofh.it> (permalink)
References <q8G38-4M8-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2015년 09월 15일 02:49, Vaishali Thakkar wrote:
> 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>
> ---
>  drivers/extcon/extcon-axp288.c | 23 +++++------------------
>  1 file changed, 5 insertions(+), 18 deletions(-)

Applied it.

Thanks,
Chanwoo Choi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] extcon: axp288: Convert to using managed resources Vaishali Thakkar <vthakkar1994@gmail.com> - 2015-09-14 19:50 +0200
  Re: [PATCH] extcon: axp288: Convert to using managed resources Chanwoo Choi <cw00.choi@samsung.com> - 2015-09-15 02:10 +0200

csiph-web