From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F163C3A5A4 for ; Fri, 30 Aug 2019 13:06:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C5CF2173E for ; Fri, 30 Aug 2019 13:06:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727417AbfH3NGO (ORCPT ); Fri, 30 Aug 2019 09:06:14 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:50185 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727135AbfH3NGN (ORCPT ); Fri, 30 Aug 2019 09:06:13 -0400 Received: from localhost (aclermont-ferrand-651-1-259-53.w86-207.abo.wanadoo.fr [86.207.98.53]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id AEF02100004; Fri, 30 Aug 2019 13:06:10 +0000 (UTC) Date: Fri, 30 Aug 2019 15:06:03 +0200 From: Alexandre Belloni To: Wolfram Sang 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: <20190830130603.GQ21922@piout.net> 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> <20190830130035.GF2870@ninjato> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190830130035.GF2870@ninjato> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 30/08/2019 15:00:35+0200, Wolfram Sang wrote: > > > > > I'm confused because I already applied: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-next&id=7150710f3084de8d35ce3221eeae2caee8813f92 > > > > > > 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. > > > > > > With another series, I wanted to remove superfluous error checking of > > > i2c_unregister_device() because it is NULL-ptr safe, like here: > > > > > > > > - if (info->rtc) > > > > > - i2c_unregister_device(info->rtc); > > > > > > But for these two RTC drivers, I figured moving to devm_* is way easier > > > than fixing up the mass conversion result from coccinelle. > > > > > > > Ok so should I drop the previous patches and apply those instead? > > Nope, they should be incremental, aren't they? > No, your patches don't apply on top of rtc-next -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com