From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4DF234C821 for ; Fri, 31 Oct 2025 14:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761921363; cv=none; b=Ugq6zsRNJ2P22UeVum6jH+9gQhji74h/MsCdbZMzV+2omc/AZni+/FtBG64FuTVvLHl7QQhoNhnjAfHTl0U2zg7Xu3bj1+iXDCnexDCf63PKj4lTlwZhoNxBRP1lHQDdsoYGqiFUN+oXp4S1teShr7T0ufIxcyC4zrjKa2eD7XY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761921363; c=relaxed/simple; bh=RrqcL62C+ktzF+tm7bTpoNGenY4mnqrJebw7KbTEIlg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pnOn7u/HbkrkEdUXAep/2tBNQIg3THiK+xyb8ap/NrCQI3v6I/+d6CN/p/BM/iLChiIEu7ifv3V3K+VOLhmeYByYSNRuyomrhUbzCBH2CQY4khddTEwsgbFJAxi1hFEMhDatYg7AlzRcW46+HIHvJ2yY0lhmEF6cLNkTmlQjgBI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=FeQZCEEn; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="FeQZCEEn" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 265034E4143C; Fri, 31 Oct 2025 14:36:00 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id F07F360704; Fri, 31 Oct 2025 14:35:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5AEF811818003; Fri, 31 Oct 2025 15:35:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1761921358; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=LeQno8ydJK0Bh3i1i6tvJWYfloQMfMR92H9+AYtI8bU=; b=FeQZCEEnkbDreBhFuCJv+YfH9L1GlVP1dpsr5hADbytYa5lvH3b/A4YoTNgXrpXhQRODht W1U2tpWSLVNj6f9z4F8MnocAvvcrOuxr2TJcGrSj9G+ue8NzfN8mO+1I8VC4+wfDrTQZ03 T3BCYzH68TxKoWTCrYrxb8VPyC4LjeM9xTS8ntRoTaXN19DR7e8D2mFqfO1Yi9HbnCDKR5 t7pYSIweV7n2/huVzrQpuPb0t52kcc6PYR6D+Elr/YCcBxZZ8v0EGZLOfp64EEbRFT60wu ZapGndIy+pQDN4BcuAs2ES3jMsdTbhD/P07dSjKcAoFgb16kT9aII7NG6Wm56Q== From: =?utf-8?q?Beno=C3=AEt_Monin?= Date: Fri, 31 Oct 2025 15:35:41 +0100 Subject: [PATCH v2 3/5] i2c: designware: Sort compatible strings in alphabetical order Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20251031-i2c-dw-v2-3-90416874fcc0@bootlin.com> References: <20251031-i2c-dw-v2-0-90416874fcc0@bootlin.com> In-Reply-To: <20251031-i2c-dw-v2-0-90416874fcc0@bootlin.com> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jarkko Nikula , Mika Westerberg , Andy Shevchenko , Jan Dabros , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt Cc: Thomas Petazzoni , Gregory CLEMENT , =?utf-8?q?Th=C3=A9o_Lebrun?= , Tawfik Bayouk , Vladimir Kondratiev , Dmitry Guzman , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev, =?utf-8?q?Beno=C3=AEt_Monin?= X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Reorder the of_device_id structures so that they are in alphabetical order. Also drop the unneeded inner trailing comma in the "snps,designware-i2c" struct. Signed-off-by: BenoƮt Monin --- drivers/i2c/busses/i2c-designware-platdrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index 34d881572351..d7d764f7554d 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -345,9 +345,9 @@ static void dw_i2c_plat_remove(struct platform_device *pdev) } static const struct of_device_id dw_i2c_of_match[] = { - { .compatible = "snps,designware-i2c", }, - { .compatible = "mscc,ocelot-i2c", .data = (void *)MODEL_MSCC_OCELOT }, { .compatible = "baikal,bt1-sys-i2c", .data = (void *)MODEL_BAIKAL_BT1 }, + { .compatible = "mscc,ocelot-i2c", .data = (void *)MODEL_MSCC_OCELOT }, + { .compatible = "snps,designware-i2c" }, {} }; MODULE_DEVICE_TABLE(of, dw_i2c_of_match); -- 2.51.1