Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15884311rwd; Mon, 26 Jun 2023 02:42:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ40inHpvxYJqWggELS6klQBIKSw3OENZZwhPzcyflHgKF1401YRsBQYdoBfUYv/ysInnDY/ X-Received: by 2002:a17:907:a412:b0:98f:3485:9c4a with SMTP id sg18-20020a170907a41200b0098f34859c4amr2236915ejc.3.1687772532806; Mon, 26 Jun 2023 02:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687772532; cv=none; d=google.com; s=arc-20160816; b=dytDFFWS6bgm00w5+GEtc6H/B9IDZwJrPzT67Ujb0ILZI9bL6TMV87xAKGI2LR2VU8 LZCulg99oG/vRJTE+B21qen82kYWErrAEIc4ijSKW73gbkmvoTrmI8qDClS6z5+9zhm1 Jf2vF5J55JOeQxZofaOBfDq9qIU8QmPfLQjEHw+0Toz83ziu7TbtFja/+RTejf75pFcD OIXxV8rlee8I1RN5Ba47lAZuCWO9tvJhN0KWRKjAxzJoOYSq6Jq1kVPvtuW3sBiykiNo swuyB5dUc/4ZkpgooygVfAvWKfG7iNtL6mxjgUDUSLaeFYxwZye++q2ViOiDm8duXeP0 2qjA== 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=bMzIySGzi89OHE5AFF+Uju28YUq10mTxj6SBXshPr0U=; fh=LU70z6MaonTWm5rr3tvswPlhanKqydEyD0UEZ0v9/+o=; b=v+iPnbJUT7j1C/WYpD15g1qAn5CDt+xbQHPTbkGKnVQAjNNWRuunDzF792YXuTbBXm L/JNDUiGOptkDod28PpFvIXwk3Zc/6Ch2YBkAcxO4AuOr0zPOhxZUaMj5LtpqeFgP8x0 YpAoWqKHTRZ592C+kBMQSIOdytAFlEC9CWXuclxhw1hP9tYK1gUoexvpjgniZpUr23A3 rtMlE/fP4OJFApfwgWoAGGH6+ig4qwxctOImrVRw6ZGUvh0un0M1RbVPZGt3ECi48ND3 UhC48RXeTtjKofbBmpnogAct8QFtywVIIbzfcM96lgVKk/P5+Dl79Z/dxkHwUweAVNqC AcGg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a170906410200b0098d2f81bcebsi2565836ejk.692.2023.06.26.02.41.48; Mon, 26 Jun 2023 02:42:12 -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; 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 S229800AbjFZJWR (ORCPT + 99 others); Mon, 26 Jun 2023 05:22:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbjFZJVt (ORCPT ); Mon, 26 Jun 2023 05:21:49 -0400 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 3469B2956 for ; Mon, 26 Jun 2023 02:19:53 -0700 (PDT) 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 1qDiNu-0001YG-1H; Mon, 26 Jun 2023 11:19:46 +0200 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 1qDiNs-00AAaY-3x; Mon, 26 Jun 2023 11:19:44 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qDiNr-00HVKs-GK; Mon, 26 Jun 2023 11:19:43 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Julien Panis , Okan Sahin , Lee Jones Cc: Andy Shevchenko , linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH] mfd: Switch two more drivers back to use struct i2c_driver::probe Date: Mon, 26 Jun 2023 11:19:41 +0200 Message-Id: <20230626091941.557733-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1254; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=bq7oPIquMq4Lboy2h00zRETaF+nqESmlcPfKxTMse70=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBkmVgs7ZZKYBC/T9Z5Gt/kcaD7bltl67MMrPiG9 v566HgDzJOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZJlYLAAKCRCPgPtYfRL+ TuoVCACR+cY7VZXNGkgIQC0iK0jg86u0OKqVz+jv09Tj9EVRrq4wPrmczswLEkt9H6/ZBv9UVjl mmSj+UFqu9Q3ZfFe9NhCOzOsq/9tJHTT86mMwDluCLdT1+OJ/vZgC+Ji0zIBjEohALADnljkNJ3 FUF0AzSny13vK8goH70S5VQtj1AXzKkFtb7Bn/4Y8hqn4k4ro+dpsJ2x/CaleEtw7bt4+J3cx2y 9BEYDjOat7lwDXAqmu/MpKvdS9MmF22c/9F9g/BZHOP5WbvhYVzx32caOzfqNXxvkIBinELP2gm 34NUKA39PV/DVdvsuBxA6ekE2WlVTvRhCE5zqKfmxvu/1Fdp X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit 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,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 struct i2c_driver::probe_new is about to go away. Switch the driver to use the probe callback with the same prototype. Signed-off-by: Uwe Kleine-König --- drivers/mfd/max77541.c | 2 +- drivers/mfd/tps6594-i2c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/max77541.c b/drivers/mfd/max77541.c index 4a3bad3493b3..e147e949c2b3 100644 --- a/drivers/mfd/max77541.c +++ b/drivers/mfd/max77541.c @@ -214,7 +214,7 @@ static struct i2c_driver max77541_driver = { .name = "max77541", .of_match_table = max77541_of_id, }, - .probe_new = max77541_probe, + .probe = max77541_probe, .id_table = max77541_id, }; module_i2c_driver(max77541_driver); diff --git a/drivers/mfd/tps6594-i2c.c b/drivers/mfd/tps6594-i2c.c index 50a3cd03b3b0..899c88c0fe77 100644 --- a/drivers/mfd/tps6594-i2c.c +++ b/drivers/mfd/tps6594-i2c.c @@ -235,7 +235,7 @@ static struct i2c_driver tps6594_i2c_driver = { .name = "tps6594", .of_match_table = tps6594_i2c_of_match_table, }, - .probe_new = tps6594_i2c_probe, + .probe = tps6594_i2c_probe, }; module_i2c_driver(tps6594_i2c_driver); base-commit: e0cbc202388af454eb771043b20db6dfe68199ec -- 2.39.2