Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp702512ybl; Fri, 30 Aug 2019 06:02:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk2E9pwSu45VoQcobjszwra2Rmu7Nu53p6TiIvSLPX7je97832QcvNHj43/tuG2DfQbuom X-Received: by 2002:a17:90a:32a3:: with SMTP id l32mr15972691pjb.14.1567170159106; Fri, 30 Aug 2019 06:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567170159; cv=none; d=google.com; s=arc-20160816; b=YjvuqzqsL6mPWCZcrJLA1DGR6fy4YCWHGwZlktdYnAPxx5yHnN+Q80u8mmRv9RvSY4 Vl5ADtO9tpbaatln6zxuh+HzdNjy9vNrtM8s8nGPRLLQmHlt3OHb4crZ5Imgde0OjiQA qb/fWX63CU0HYOzZwDLmCEZ7YpOfmfwo8XhjZu2Js+7NjGmsmzyBbUCNs5m+azEfdOYk t4ZIW91PYKKcUKy+q6t4wqO2yQmSuZ51A/zjHEDdVvqeK1uh9lt0oFZ72IO/LvTS2UBG u7+gOmIA6YtXFxWc0N7ekGtiw/QBi42owi3RsKF5tQ5E3eFBwkW6WI51RUiFpI4lQFNl Ztbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZuIgRRjstPFpR5HmDXUQkRNSNS+wvwO+/0Uk6ZGuY4w=; b=bOcEGa0/PTx241IrrOySjYSYZTp8Ie8q1rEH/GUZM44Do73CUHgdvngfkA5Sk/EEgb dx0xZhph9CLxESAC72xqwJM3we9dO3cWK4EMC6/1Ah8gKUlkVtamodDV9OkCncU6zl5N bEwaALVr15ae9p8UIb7HgSLgmoN/eJ+ile8kjBL1hBwRNaLXFa6x5D2RgTP8HzEIfhx3 8wu7dGOOZ+hCmV0IVXo52vb1fyTcuEKk9bNnLHZtCz9gvEVEqKv0WtyYOM5nHN+3ImKh uNkWmYNQ0LZKdNrIXxYTAo1qhswJLkROpuXRQaCyBileil/peaJ8P/G8IqOUgOIJU2k0 LoNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si4440121pgd.443.2019.08.30.06.02.22; Fri, 30 Aug 2019 06:02:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728213AbfH3NAi (ORCPT + 99 others); Fri, 30 Aug 2019 09:00:38 -0400 Received: from sauhun.de ([88.99.104.3]:53716 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727791AbfH3NAi (ORCPT ); Fri, 30 Aug 2019 09:00:38 -0400 Received: from localhost (p54B335BE.dip0.t-ipconnect.de [84.179.53.190]) by pokefinder.org (Postfix) with ESMTPSA id 350732C0095; Fri, 30 Aug 2019 15:00:36 +0200 (CEST) Date: Fri, 30 Aug 2019 15:00:35 +0200 From: Wolfram Sang To: Alexandre Belloni Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Alessandro Zummo , linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH 1/2] rtc: max77686: convert to devm_i2c_new_dummy_device() Message-ID: <20190830130035.GF2870@ninjato> References: <20190820154239.8230-1-wsa+renesas@sang-engineering.com> <20190820154239.8230-2-wsa+renesas@sang-engineering.com> <20190829205752.GL21922@piout.net> <20190830124554.GB2870@ninjato> <20190830125338.GP21922@piout.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8JPrznbw0YAQ/KXy" Content-Disposition: inline In-Reply-To: <20190830125338.GP21922@piout.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8JPrznbw0YAQ/KXy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > I'm confused because I already applied: > > > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/co= mmit/?h=3Drtc-next&id=3D7150710f3084de8d35ce3221eeae2caee8813f92 > >=20 > > The above was a mass conversion to i2c_new_dummy_device() to make sure > > all in-kernel users use the API returning an ERRPTR. Mass conversion to > > the devm_ variant of the same function was too troublesome. > >=20 > > With another series, I wanted to remove superfluous error checking of > > i2c_unregister_device() because it is NULL-ptr safe, like here: > >=20 > > > > - if (info->rtc) > > > > - i2c_unregister_device(info->rtc); > >=20 > > But for these two RTC drivers, I figured moving to devm_* is way easier > > than fixing up the mass conversion result from coccinelle. > >=20 >=20 > Ok so should I drop the previous patches and apply those instead? Nope, they should be incremental, aren't they? --8JPrznbw0YAQ/KXy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1pHfMACgkQFA3kzBSg Kban+hAApng8jeSWw1/5/K5+lAqBCFLu2mmoMYDvy4I/4VOaGWO1cGYs37e148zQ fJJdGKs0B8gb02s08/8CqJEEJLNPBHhOVfUZPo5KVDsSBBQbTvh3Sv8gmOobM5SL 36Bk55Vj6aWzOEoKh6jMkJyDv8q4D4/HR1V6TpiaIPG5dObx7OiUoCccXvQRK1e3 STVcZxvay6E/43v5rk+eUhdjyTIZkqnTcMXtpg0e7sM1/Jyr1j6mKfUWWTu8C+in c67WXyhcWXrHckhjQRhpKDYuYHeawjvUMmycjOyInRnrwtBR2qJRGmQxExDGztDH pxijj2T1WdgP3kvHWIWeDudr7CaCZaGpv4jTiA5f2OD5fpdyas9lq8E2CMiqDnRX oDku3RdCInTfOeJGXQGUs62jm7S4xjWalINl9yWx4VBOq+bnt4HF1RDDfGY3Tt62 4Sri2fHZdk65czsTWu4jutU1BcWO2rdjBs8XDvpbTKjhTDWJnX/Ef4Eph6j8RzXS sQ6TNPJQVmr9wS1iV9pfsgaiVaxDEB3vaLCbOMGw9EJkSuRNvfJBtfkQ93p1TEiu 6tMZIpceVFkmfTKj6Zn3DNS3SPTUO9meWEXwpJOtRBZaH/74uQeKdRs3P1/j9rzF K31G5lv4wyHlJCSE0FKiuMWFfOeiN9mxXT+1bgdDY4BKuzINONU= =9bct -----END PGP SIGNATURE----- --8JPrznbw0YAQ/KXy--