From patchwork Sun Jun 11 20:43:27 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: 1793674 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=fJZWCRG2; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QfRdF5xR4z20Wl for ; Mon, 12 Jun 2023 06:44:33 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=h/LsWI+BAOMwpf/z3k3TZcyEUGmhI92i/aYoaF8pULE=; b=fJZWCRG24LgU2I Pd3JmHviUSto5hKIrlkBUAxSwkok8vJf0PskGy42DemFR/ABO+FKWNjW1f3gfBSusTut4e7+wndCU +hDR4WbyOdpeoJSJFIuGon4mlTSrsewJUHNsTM9XbkevmKtOzZISM7mSWa4Gje4h30/ggwtnftpU1 sIn0VsxEkNsNO5riHncl7z7jzHI1L17Hb+MbFqkC0A6j/50V3fw1tN/8kk/Qw4BWBjAA3X1XIwFOa dO1ZC3U7roba8dgejKB+RASAPC6Wq/ZFlj74KFwHfcnuC3wbs69EKhHPqYQCuR98jNow58HsLnjzx SyON78j1Iu6HmNijDapw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q8Rud-001jTy-2u; Sun, 11 Jun 2023 20:43:47 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q8RuZ-001jRl-2w for linux-mtd@lists.infradead.org; Sun, 11 Jun 2023 20:43:45 +0000 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 1q8RuR-0001Y7-8f; Sun, 11 Jun 2023 22:43:35 +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 1q8RuP-006jQB-HQ; Sun, 11 Jun 2023 22:43:33 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q8RuO-00DIJQ-Qe; Sun, 11 Jun 2023 22:43:32 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org, kernel@pengutronix.de Subject: [PATCH] mtd: maps: pismo: Switch back to use i2c_driver's .probe() Date: Sun, 11 Jun 2023 22:43:27 +0200 Message-Id: <20230611204327.828122-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=934; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=eV1upzG3BHqeyAZP1Dmv/RvxHBmR41WU7xQXGTwVZg8=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBkhjHuSp+Eo/brVJdj73xqwS593HF3S50CyW7kA BcW3ojN4e2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZIYx7gAKCRCPgPtYfRL+ Ttn0B/0cdI/znDbdVUMTtWnYEkcYN7PxHgVd/9QhR5GHa/xvQqTqEhlfIJpNsR8q4NGmOGS4XEQ cWXlGhrz/xOXmF+hB4qTP2z4W8NZhOUQlIUD95yLK4S/Vaq/BsMJ4xlhi/BkJrOghAfmT8YIFb/ gmbVAs47pulO5YkoN+M8skSHT9X7nZc+ebY8EgsSBncabIBcsIPCzlopiTFD2X/XDE+UWjVmdSi m9rQVLk/aoexl4L4+eI7I82HK+Kq+pe5lEVnaYQHx+IGEIasHbDYWD3zt2880nrD4FHuDFdfLAe CnXcOx5avOH0NBqecQAVlvzTABcNr2YxjYv9C8ayWzGVNUUK 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-mtd@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230611_134343_945407_2ABF91BE X-CRM114-Status: GOOD ( 12.29 ) X-Spam-Score: -2.3 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 03c835f498b5 ("i2c: Switch .probe() to not take an id pa [...] Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2001:67c:670:201:290:27ff:fe1d:cc33 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() call-back type"), all drivers being converted to .probe_new() and then commit 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. Signed-off-by: Uwe Kleine-König --- drivers/mtd/maps/pismo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669 diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index 3e0fff3f129e..ecf68922da73 100644 --- a/drivers/mtd/maps/pismo.c +++ b/drivers/mtd/maps/pismo.c @@ -259,7 +259,7 @@ static struct i2c_driver pismo_driver = { .driver = { .name = "pismo", }, - .probe_new = pismo_probe, + .probe = pismo_probe, .remove = pismo_remove, .id_table = pismo_id, };