Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5403701rwd; Wed, 24 May 2023 00:56:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7iM2D/nnb+EyoQZ7H3lIypiKHtTs2+7YaFSX9d/Xa2EcTUvD+chuNNR5wMyggG9mNRHyap X-Received: by 2002:a17:90a:ee44:b0:24d:ff56:f8c1 with SMTP id bu4-20020a17090aee4400b0024dff56f8c1mr15500962pjb.13.1684915015584; Wed, 24 May 2023 00:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684915015; cv=none; d=google.com; s=arc-20160816; b=gbk/t1DU0Jb8ccxdJyVBxYcawqrXNtCnVfehJyOnbEolqbYkoDIiQBs14iUGdCSGwv LNhVHpONSUEu1fJCqcgwp7JuJsdNW+5ui7sISZHDiSt6A0cdBOXhbWiQOEen6VygIu8z zQ5YhYTD/7PdnRMwBLMsSRN8mMGD39MqM/WG85GLMRR998uqGt0SZq/cYG8z+o/Xwiqx EIvCNjp+RGoWD2nSWZIBAv+TpJSdSbtWLAg/AdlUitSxLY7iK+yv8hc8NLc3ilz020qM qyySCfK4fDrpp1/V55/pLGC5g4gwGIHFO6Z7PZcoi7UJVtGGrmQt5/FfPuPaYxaFy5g6 tQzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=m23zQd722rFvXAhBGJs8LPiDmoALgown5nmTI8wZCyE=; b=QJdkgC9w9JuFN52iM4L/XdFyJkBs0JJULn/x7f8N9KngViDxUY+kJ5qrBj9hZb+T50 nIzFd5dKOM3OCLwvf4bq4QhSnzjYjxhGPvGd2jFqu0qd3vQkepgKoEUIgE1d8bzrTPwa K5gK6BoDkTm8qVCW3HdGO8S0AvFWR6isUQB5+J7t6VXDDRDNXwd5gi8oK7drcZu1fBet uZOWEsFKAMmCyqoHcLkTY5ANp0VXd3N6mUFD213UffHsw92EGGsrMVP/9J+1C8a7xQd7 jFnH3CLFIkDWHLlJIeHnsME3M5TBMqjNndsAKcCC7T9Lv+ckHKME0MTuQ9UILuE0NOQv 3yAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=AMcYtBSG; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=8VQzQ1Wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q25-20020a656a99000000b0053eef8a4407si1761719pgu.525.2023.05.24.00.56.43; Wed, 24 May 2023 00:56:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=AMcYtBSG; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=8VQzQ1Wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240052AbjEXHn7 (ORCPT + 99 others); Wed, 24 May 2023 03:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239918AbjEXHn5 (ORCPT ); Wed, 24 May 2023 03:43:57 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EA2F1A8; Wed, 24 May 2023 00:43:48 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 053FA22435; Wed, 24 May 2023 07:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1684914227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m23zQd722rFvXAhBGJs8LPiDmoALgown5nmTI8wZCyE=; b=AMcYtBSGTyukaFhARs5QWXPuXXZ1EJgnXMFjsQQDcLhz2AaIBNRZeWAJc/Cm4cF005lKVF WyYlRR7rSiCgQvPl0CG7JUXXkn4AJWX2u4aQqbotGfJbLEbSK0AqPTOkQLUImic/KiMaQ0 5DrxxJDies1ktO+xe1wNeelZzLCR4dg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1684914227; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m23zQd722rFvXAhBGJs8LPiDmoALgown5nmTI8wZCyE=; b=8VQzQ1WnYs/uW23z078iBZUmUk5PmBAsJech/nFhLPH6X8LVStwWh9aAWQ02pIHang1HFq rfWRm/ByEgRznFCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3258413425; Wed, 24 May 2023 07:43:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Qb20CjLAbWSVRgAAMHmgww (envelope-from ); Wed, 24 May 2023 07:43:46 +0000 Date: Wed, 24 May 2023 09:43:44 +0200 From: Jean Delvare To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: Arnd Bergmann , Greg Kroah-Hartman , Bartosz Golaszewski , Eric Piel , Luca Ceresoli , Vladimir Oltean , Srinivas Pandruvada , Javier Martinez Canillas , Serge Semin , Wolfram Sang , Hans Verkuil , Justin Stitt , Yuan Can , Dan Carpenter , Adrien Grassein , Andy Shevchenko , Petr Machata , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH] misc: Switch i2c drivers back to use .probe() Message-ID: <20230524094344.44baaf45@endymion.delvare> In-Reply-To: <20230517220135.170379-1-u.kleine-koenig@pengutronix.de> References: <20230517220135.170379-1-u.kleine-koenig@pengutronix.de> Organization: SUSE Linux X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.34; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 May 2023 00:01:35 +0200, Uwe Kleine-K=C3=B6nig wrote: > After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() > call-back type"), all drivers being converted to .probe_new() and then > 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert > back to (the new) .probe() to be able to eventually drop .probe_new() from > struct i2c_driver. >=20 > While touching these drivers, fix alignment in apds990x.c and bh1770glc.c. >=20 > Signed-off-by: Uwe Kleine-K=C3=B6nig > --- > Hello, >=20 > I used v6.4-rc1 as base for this patch, but it also fits on top of > today's next master. If there are some conflicts when you apply it, feel > free to just drop all conflicting hunks, I'll care about the fallout > later. >=20 > I chose to do this in a single patch for all drivers below drivers/misc > If you want me to split it, just tell me. >=20 > Best regards > Uwe >=20 > drivers/misc/ad525x_dpot-i2c.c | 2 +- > drivers/misc/apds9802als.c | 2 +- > drivers/misc/apds990x.c | 4 ++-- > drivers/misc/bh1770glc.c | 4 ++-- > drivers/misc/ds1682.c | 2 +- > drivers/misc/eeprom/at24.c | 2 +- > drivers/misc/eeprom/ee1004.c | 2 +- > drivers/misc/eeprom/eeprom.c | 2 +- > drivers/misc/eeprom/idt_89hpesx.c | 2 +- > drivers/misc/eeprom/max6875.c | 2 +- > drivers/misc/hmc6352.c | 2 +- > drivers/misc/ics932s401.c | 2 +- > drivers/misc/isl29003.c | 2 +- > drivers/misc/isl29020.c | 2 +- > drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 2 +- > drivers/misc/tsl2550.c | 2 +- > 16 files changed, 18 insertions(+), 18 deletions(-) > (...) Reviewed-by: Jean Delvare --=20 Jean Delvare SUSE L3 Support