From patchwork Sun Feb 26 22:26:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 5877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2128215wrd; Sun, 26 Feb 2023 14:46:34 -0800 (PST) X-Google-Smtp-Source: AK7set/hzvb05TAVFCNEhMb+6D8rEqi0rmrzgYfrWnx60hlXbe3770wn879V2ysNJ0RZOHBNKOja X-Received: by 2002:a05:6a21:7891:b0:c0:2875:9e8c with SMTP id bf17-20020a056a21789100b000c028759e8cmr26807573pzc.1.1677451594622; Sun, 26 Feb 2023 14:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677451594; cv=none; d=google.com; s=arc-20160816; b=0/GaWo+tbJFTysMnI2uxi0nmuWdZT/uzuw3It1G7YhdZ0olX56sn23rZIiaUJq6Qj0 2nlF6YECwj6htlXKTUluqcUxXrdktCJ2A71hb508WzgyWzxB/jGXmJjU4sOuEc+08iUN yg+z0kI2Y5Fjsj77Th7KdhSzWWaPKplbEW2Dw6djWDv1VBM+U5X7O71gnkPE/zdoJ/Vb oqvXkr6U3xq9mfgI+BqCcjLas+Gp6xN6RoKZuUzDzUGt0LOl0QA8RHFKBWsYor7c9JTi r1BKHpkXjxGbN8k8S7IfyMH0j+RYJRqyCe/b6R1mIzCJC8caQLz82nz6SJwOsJm350ac Y4SQ== 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 :message-id:date:subject:cc:to:from; bh=FR+oPWj8nyai/XnXFzONhbJMJy5rcJ5xlgdo2cJpIVY=; b=P4v8B2ISqoBmChyyGF7yqJSnTqpEggIeo3y7jB48EDufZUEjSAqaMiyXfgsSRI2FRJ 1o0nklAR+ED4cv6XI4pIxzQSY08HwO4MnL/Zke9X4XV4hKl4pPVoKAdFTJS+Sw33ayMo vhakv6OkfaMsrGHZeKzgI5QYDSLM9TJhxwAt/hAjXRq8QhEBTeKx6kwTWDiy/lHtlRiH drlXKRC9mErssHGC01oF/nmr7LVeF93qLQtutbTqw9gAJHqXUfS412efnHaKUpnvKIwq x1+mKqLLjZlCCHsbTDG7Ql0jM+5KzSc+pAeGAVkQamxJHTjjPx9s0TC3vT76rw6s/wa+ a9iQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a635e07000000b0050017d1b0b2si5589025pgb.417.2023.02.26.14.46.21; Sun, 26 Feb 2023 14:46:34 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbjBZW2T (ORCPT + 99 others); Sun, 26 Feb 2023 17:28:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbjBZW2R (ORCPT ); Sun, 26 Feb 2023 17:28:17 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41D6518AA3 for ; Sun, 26 Feb 2023 14:27:47 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWPU0-0000v4-Cx; Sun, 26 Feb 2023 23:27:04 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pWPTv-000UbL-A7; Sun, 26 Feb 2023 23:26:59 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pWPTu-000YPc-Ii; Sun, 26 Feb 2023 23:26:58 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Ajay Gupta , Peter Senna Tschudin , Vladimir Oltean , Luca Ceresoli , linux-mtd@lists.infradead.org, Jiri Slaby , linux-serial@vger.kernel.org, Evgeniy Polyakov , Crt Mori , Jonathan Cameron , Jean Delvare , Javier Martinez Canillas , Shunqian Zheng , Mauro Carvalho Chehab , linux-media@vger.kernel.org, Michael Hennerich , Peter Rosin , Guenter Roeck , Lee Jones Subject: [PATCH v2 0/9] i2c: Switch .probe() to not take an id parameter Date: Sun, 26 Feb 2023 23:26:45 +0100 Message-Id: <20230226222654.1741900-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1991; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=EenKKdT6RETFmVGwF2CrYShLqN5ZYnH65OR4Oth2DhU=; b=owEBbQGS/pANAwAKAcH8FHityuwJAcsmYgBj+9yIsuD2BffFtVmTLqMLW9+LGg9CrL1S9JEyp A8isju5DgGJATMEAAEKAB0WIQR+cioWkBis/z50pAvB/BR4rcrsCQUCY/vciAAKCRDB/BR4rcrs CVArCACf5Exs+Q2fpw9bhFprBhf8Jn0zdE1HAJWqKw9geHnrqn2c77H0nb4l6za7xknleFOdFjl vT1oJ/Hil7ZZHfjj0Q02CEsZqvCUoh/T4UAse77L1aYyUPrZ0RZsOyTquharTxDIKLoriggp8O7 oibgm8zSD2bY1eFXyPkExlGm+6FBBRW8p3Smjl0DhgJHra46+W71KaqBmYkG1IBl5lrINIPfwRv 3ktxNmDCAgv/OMRMRji9mRAtfbTNBB8fvk22YGZXKc7/Ja9bBtoyWYo0UPM2LwcfDAfOnqJXu0d 8S7iE11b92EW7g3eeBkHU339ye95YJ2KDZ7wmHd7p+WkiVWd X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758934347356504278?= X-GMAIL-MSGID: =?utf-8?q?1758935483320936577?= Hello, this is v2 of the series. I send it a bit earlier than I planned to do that initially because I failed to send v1 completely to the linux-i2c list. Changes since (implicit) v1: - Added Acks for patches #5, #6 and #8 - Fixed kernel doc as pointed out by Luca Ceresoli (patch #7) - Send all patches to linux-i2c mailing list - Rebased to current Linus' tree. This reduces the list of prerequisite patches to two. I updated https://git.pengutronix.de/git/ukl/linux i2c-probe-new accordingly. Best regards Uwe Uwe Kleine-König (9): misc: ad525x_dpot-i2c: Convert to i2c's .probe_new() mtd: maps: pismo: Convert to i2c's .probe_new() serial: sc16is7xx: Convert to i2c's .probe_new() w1: ds2482: Convert to i2c's .probe_new() media: i2c: ov5695: convert to i2c's .probe_new() media: i2c: ov2685: convert to i2c's .probe_new() i2c: Switch .probe() to not take an id parameter i2c: mux: Convert all drivers to new .probe() callback i2c: Convert drivers to new .probe() callback drivers/i2c/i2c-core-base.c | 13 +++---------- drivers/i2c/i2c-slave-eeprom.c | 2 +- drivers/i2c/i2c-slave-testunit.c | 2 +- drivers/i2c/i2c-smbus.c | 2 +- drivers/i2c/muxes/i2c-mux-ltc4306.c | 2 +- drivers/i2c/muxes/i2c-mux-pca9541.c | 2 +- drivers/i2c/muxes/i2c-mux-pca954x.c | 2 +- drivers/media/i2c/ov2685.c | 5 ++--- drivers/media/i2c/ov5695.c | 5 ++--- drivers/misc/ad525x_dpot-i2c.c | 6 +++--- drivers/mtd/maps/pismo.c | 5 ++--- drivers/tty/serial/sc16is7xx.c | 6 +++--- drivers/w1/masters/ds2482.c | 5 ++--- include/linux/i2c.h | 18 +++++++++++------- 14 files changed, 34 insertions(+), 41 deletions(-) base-commit: f3a2439f20d918930cc4ae8f76fe1c1afd26958f prerequisite-patch-id: 256857b4eee79540b271b8d4899b9ba0aa3c4c27 prerequisite-patch-id: bb49c9c71311ac1f1056c562f20f26aa356c95a6