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


Groups > linux.kernel > #1230171

Re: [PATCH] 88pm860x_battery: Convert to using managed resources

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] 88pm860x_battery: Convert to using managed resources
Date 2015-09-22 15:20 +0200
Message-ID <qbvEe-6p9-19@gated-at.bofh.it> (permalink)
References <q9GDN-3D9-43@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:03:40PM +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 pm860x_battery_remove as it is now redundant.
> 
> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>

Thanks, queued.

-- Sebastian

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


Thread

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

csiph-web