From patchwork Mon Aug 19 08:39:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 820452 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (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 4AC6157880; Mon, 19 Aug 2024 08:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724056814; cv=none; b=pLrVIYtnUvW2f+IoZNLHkB9p3dck/2FGkMSttG25rQHLF5FUl9iarFGqnb4VtwmR5x/j3QIDWzLW2WnPUkTy29ru3rfZpEAFS65XQtIUyPpbSAOJkQ+SUu4torWJGx7KIM3tSKcbZmQi56O9n1pX2AUDcqX+NEZ5x0yHb0dNoD8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724056814; c=relaxed/simple; bh=ecRXmoWtr+H4FTDexcrxBLjv16chf+goailR2t/Is70=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jZxU1fy7b5LVzjWZmqDyhoHwwAGn4VrK2chB+qJgbFNFx3tgDLrFWmY2Az5ryobyIDRcz7ZmXypYEj6E0Wxvbvn4//Rk7Up364xuSZmq0kGYqZDgiYoz+7R5g8VhZ2icr3PWbME70IRX7eN6K/lMdcHaGn/p84cAKwVdoGdq/gY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=er1pcw/M; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="er1pcw/M" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724056813; x=1755592813; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ecRXmoWtr+H4FTDexcrxBLjv16chf+goailR2t/Is70=; b=er1pcw/MLP1g+MXTcGMzEuRuLQsNK2JEKw+foO1byc6g4X1DVZgFlFuf 5LSdApTRhEwjIBondFgkrAKb9Seban3P3s48Vetp1JW74hE5EKoJ9O/yc 8NETAppaTuMqYQSNi/uTORNvRbu4AYr6HpSJ2U/HP12IG0s1FtNm1ax0C suspfgmsiC8lM3GwDXz5RMVniBPSq9/TKiydaTLc6UCxU7Nkne+qiEFcT fsF9yweyeXUi77/eYBmMsz9TiLAjHuOA/T8YKgEef8mnXWwBAcfQGr5y+ 9jal0zTbDhNBZrhFqhML2fDseLHTSKJG6siFkv2C1zLD3p22kxtSWGM6/ g==; X-CSE-ConnectionGUID: ZjN+y7BWRD2RH7JM/6QKdA== X-CSE-MsgGUID: Uo7/eSVKTKa1mZyfYurhzg== X-IronPort-AV: E=McAfee;i="6700,10204,11168"; a="22170979" X-IronPort-AV: E=Sophos;i="6.10,158,1719903600"; d="scan'208";a="22170979" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2024 01:40:12 -0700 X-CSE-ConnectionGUID: n7W1zypzSbCymD/je+DhQg== X-CSE-MsgGUID: XaRQHOJmQ+2vKLgdEW97MQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,158,1719903600"; d="scan'208";a="60007796" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa007.fm.intel.com with ESMTP; 19 Aug 2024 01:40:10 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 02B97352; Mon, 19 Aug 2024 11:40:08 +0300 (EEST) From: Andy Shevchenko To: Jarkko Nikula , Andi Shyti , Andy Shevchenko , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Jan Dabros , Narasimhan.V@amd.com, Borislav Petkov , Kim Phillips , Mario Limonciello Subject: [PATCH v2 4/7] i2c: designware: Unify terminator in device ID tables Date: Mon, 19 Aug 2024 11:39:08 +0300 Message-ID: <20240819084007.3700433-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20240819084007.3700433-1-andriy.shevchenko@linux.intel.com> References: <20240819084007.3700433-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Make the terminator entry look the same in all device ID tables. Reviewed-by: Mario Limonciello Acked-by: Jarkko Nikula Reviewed-by: Andi Shyti Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-designware-pcidrv.c | 2 +- drivers/i2c/busses/i2c-designware-platdrv.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 4cbcdae8cd90..cbbcbcc265c9 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -401,7 +401,7 @@ static const struct pci_device_id i2c_designware_pci_ids[] = { { PCI_VDEVICE(ATI, 0x73c4), navi_amd }, { PCI_VDEVICE(ATI, 0x7444), navi_amd }, { PCI_VDEVICE(ATI, 0x7464), navi_amd }, - { 0,} + {} }; MODULE_DEVICE_TABLE(pci, i2c_designware_pci_ids); diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index d092532375b8..9ce74a8be43a 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -58,7 +58,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = { { "HISI02A2", 0 }, { "HISI02A3", 0 }, { "HYGO0010", ACCESS_INTR_MASK }, - { } + {} }; MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match); #endif @@ -154,7 +154,7 @@ 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 }, - {}, + {} }; MODULE_DEVICE_TABLE(of, dw_i2c_of_match); #else