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


Groups > linux.kernel > #1230309

Re: [PATCH] max8903_charger: Convert to using managed resources

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] max8903_charger: Convert to using managed resources
Date 2015-09-22 17:20 +0200
Message-ID <qbxwm-DB-21@gated-at.bofh.it> (permalink)
References <q9Hqb-4OV-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Thu, Sep 17, 2015 at 06:55:00PM +0530, Vaishali Thakkar wrote:
> Use managed resource functions devm_request_threaded_irq and
> devm_power_supply_register to simplify error handling.
> 
> To be compatible with the change, various gotos are replaced
> with direct returns and unneeded labels are dropped. Also,
> remove max8903_remove as it is now redundant.

Thanks, queued for 4.4.

-- Sebastian

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


Thread

[PATCH] max8903_charger: Convert to using managed resources Vaishali Thakkar <vthakkar1994@gmail.com> - 2015-09-17 15:30 +0200
  Re: [PATCH] max8903_charger: Convert to using managed resources Sebastian Reichel <sre@kernel.org> - 2015-09-22 17:20 +0200

csiph-web