Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1685140rdb; Thu, 7 Dec 2023 06:18:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IECIEkK8s/s/jrZfg6uaV8L4nmT1EYgY9qh62VNAk9Q9WfpSoRdy126NcynQwj1E1exZJ1a X-Received: by 2002:a05:6a20:26a8:b0:18b:d3db:7048 with SMTP id h40-20020a056a2026a800b0018bd3db7048mr2336667pze.23.1701958701182; Thu, 07 Dec 2023 06:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958701; cv=none; d=google.com; s=arc-20160816; b=pUQHDrT0LqQJxIkcnMIXptw7H08LXLsIyRsqbM+EYpCDk/wVsoAeDRWMFeQ/TUrOu1 GiP53goKE6zB3352Kc0LSt39Phu+WXUF/kjYsA5BXDq8CLMQ3YsMuoLUouDDFLUay0W4 PhgubgHRHojHCD2jxnAEjVb1WOCte+luD00SqIHVJkM1AtD/ZPJVp3I0RDJufowcxbVK cwhI2SrajoRxsNr0b/4n8ox6VdRJC4OKYudT1eJKMGQEfnvy2xi4qhRHXWgFckIHluyw aXyS5StH21TRd7SKtCPyaQyCeK+PYB1LW1WFLAHc9rqmereXocaBgfNssKLuVFJLoNk4 LJog== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HL/smp0fVxfgz7BfdM+Q/EhURX4FjQKvNvuPo9WFSAE=; fh=2EyuYZuFv7pvbWODgXyYvSVo1Jt/nOD9U4n59BuOM5Q=; b=hr2W9mYs5Lbm+v11IVk519K+KjWd9x+jMLCU7lsNN+v5s0TbYinbSG+lfagheXPFKE QTFNkHk8RcfIavU+RqNaX7j4d8uespIBxP9hvsbb73jvVYMdiDSIeqaLnQ3ztQryw5oZ 8zRvIJfTbqu0bcmWrd+Pk4dz8L7P8tqfe1WNkyUDWNfhCujXc3yh9HAqhpmC2d0rEK8q hwsCAms2NChLm1ARuEZZWcWhRj3aT7aYkdBt6fmFelAi3b0T4YljN8+NEtQKOt4f9Wjw Ut5lpXcoPZ/0haIMw/zPUFsDPE6/rq1xbu6hLVKgzYg9zdgj5CcZ3bTkYYV4sL9limqL +R4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DUcRV7L0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n35-20020a056a000d6300b006ce7ec100ecsi1271935pfv.87.2023.12.07.06.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:18:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DUcRV7L0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 13C3D80B01E1; Thu, 7 Dec 2023 06:18:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443288AbjLGORj (ORCPT + 99 others); Thu, 7 Dec 2023 09:17:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443207AbjLGORR (ORCPT ); Thu, 7 Dec 2023 09:17:17 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D743B10FF; Thu, 7 Dec 2023 06:17:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701958634; x=1733494634; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=khq6cQ5BKVTLs44iQiMGbcvQCpPxqmbsi0+JKEy1Afs=; b=DUcRV7L0CZDQeCbwF/zn9Jem2SXhCLDjT+Xa4xZJlzesoLyzmqy7vuWA rOsKIqS7zZLUH8RLqV0/7BRtJQnm2aWmfWbH63roNjYO9vruZUBZSZkaL yW/35SlI6zNDmhLN+Aqio9V4X60i5DuvQBPh9SLsxdPNnjznj7n4OtDcz /W/9NWhjE+t40QDElXqT1IDevcNnTSbrM3Q1SiQ/SskdaFfCuAqGQ/m2W Ok99llRhQAEMyiKvKFZQz6CP1SEXGWAUeqZE8hQcH4qBVaTHX5+8KgtAp RrwrU8bAEGrUaY+lr46K5MMTJJ3vP1obDlIfstbTZRbNfQbNrENi39odG Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="460726139" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="460726139" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 06:17:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="862490642" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="862490642" Received: from black.fi.intel.com ([10.237.72.28]) by FMSMGA003.fm.intel.com with ESMTP; 07 Dec 2023 06:17:08 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E25759E2; Thu, 7 Dec 2023 16:17:02 +0200 (EET) From: Andy Shevchenko To: Mario Limonciello , Jarkko Nikula , Herbert Xu , Andy Shevchenko , Wolfram Sang , Andi Shyti , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Jan Dabros , Philipp Zabel , Serge Semin Subject: [PATCH v5 09/24] i2c: designware: Unify terminator in device ID tables Date: Thu, 7 Dec 2023 16:13:49 +0200 Message-ID: <20231207141653.2785124-10-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231207141653.2785124-1-andriy.shevchenko@linux.intel.com> References: <20231207141653.2785124-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:18:07 -0800 (PST) Make the terminator entry look the same in all device ID tables. Reviewed-by: Mario Limonciello Acked-by: Jarkko Nikula Reviewed-by: Andi Shyti Tested-by: Serge Semin Link: https://lore.kernel.org/r/20231120144641.1660574-10-andriy.shevchenko@linux.intel.com 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 35eba432bd08..cf736a8b9023 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 5d8427ccc9b4..018c353a456a 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -57,7 +57,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 @@ -153,7 +153,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 -- 2.43.0.rc1.1.gbec44491f096