From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933437AbbIVNR5 (ORCPT ); Tue, 22 Sep 2015 09:17:57 -0400 Received: from mail.kernel.org ([198.145.29.136]:34187 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933388AbbIVNRz (ORCPT ); Tue, 22 Sep 2015 09:17:55 -0400 Date: Tue, 22 Sep 2015 15:17:46 +0200 From: Sebastian Reichel To: Vaishali Thakkar Cc: Dmitry Eremin-Solenikov , David Woodhouse , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] 88pm860x_battery: Convert to using managed resources Message-ID: <20150922131746.GE23334@earth> References: <20150917123340.GA10489@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wchHw8dVAp53YPj8" Content-Disposition: inline In-Reply-To: <20150917123340.GA10489@localhost> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wchHw8dVAp53YPj8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > Signed-off-by: Vaishali Thakkar Thanks, queued. -- Sebastian --wchHw8dVAp53YPj8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWAVT6AAoJENju1/PIO/qaRTQP+wYzC4HTiqnPueFXX4B5tKt2 pvExQRSiDvlbtS0BE/HBlCTyGKHzbpfNWEAsZ+QMOzDGe2M+lrABV59wuDo3zO83 daswQpzC9keRO1izJvh0hOPWo5C3gQAF5zpnM7EQB0d+yIPzl5J9cQaMkLrNuwTj aWjw6Qbr7H+XkjaAXJ1cc1LNdspdHTzAl+VX1ZrhxWfgDWZlapEhHKjGioxqeqlg m0rlnrYJ2QSIxRkLIYzaba8PX2Ye0WEd7By/N1n0lnw4xt8DPHf2ie5XQRv0hnVz 9mZ/5tFQD1gWBgD8jczsna6uoVt+53p25RJOus36BlnxRxUmDoL3/OADuUSgDiee P4SKPCQFIy9ouMRjBoFUCT/B7EZUtOUGqNBPBGvCC9kay6+aUGusE3LOycZCpiBB +SilclUoQkxpZfpk0k+ZZrG+VQ5jfMFdFLC5sS5GCxUYKYFJ5/s1GnGwH+rbtxTx dqMjkDhQTSCYwbSnh95IDE9cCbtkFr3eFzRFpjLr+kkoQBjZjOgncW2o6wbZBkru 3y69z83rHTE39hceas8OFuRsSeDoxzvNhi0bxfabeJwpUck3srrFrWqHiA/62VKr OAmGghNcVJPuJdZOIudWIWXHFYvMtGbZugZqsty/d6Opn3WKbT93FxTJ5IiVY2HF 0NICM4nZrSHXo7Ls0J+c =LEFQ -----END PGP SIGNATURE----- --wchHw8dVAp53YPj8--