Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2270240rdb; Mon, 20 Nov 2023 06:49:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWggoq3jQMikv1gvGhQh+3WfzyWRYFBJvFpyz4/IsmGa/36AIGIBP8cAT9aFGQMZZr0pW1 X-Received: by 2002:a05:6a00:2e95:b0:68f:dd50:aef8 with SMTP id fd21-20020a056a002e9500b0068fdd50aef8mr7585077pfb.4.1700491776047; Mon, 20 Nov 2023 06:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700491776; cv=none; d=google.com; s=arc-20160816; b=Af0aAl0T7m5KWcbm8KbOKeCV1ywjA1+OghzAfdk8CMX/jW/ycw+qXoKPQp1IRSWxBd 5/umDzqhzxTi+XJIRfxQa5TVtYLKqWobitwYdpuj3lQwx6vUBZN/cdcgg64uFeF+47Lh zofirPTKucRc74h7K2cuv3XDda0w4O9qcZZNzn29x0Ydp44jj0A4MmWlYuwBR1KGiXpY VseJOaBD5H+WVG44xbNh+jWczwF3XnXKWdi4kYwUXHtnDEwm6qkeuAUxgc6dYHC3QUWy QW6I+8HED+ea5+oH8AebsaYwhj858k7Uvic2eL+0utUgKhBXdE/LGrikdiASmLEpjaaw AUYg== 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=0zb8rwbGFw66F7QP/DXwVMTUMJFWe1qb6NcqepA+SxE=; fh=g3amdiifXhwL/mTWljo4oOX/iLvH3RCBC8SWsJqOWek=; b=GDhPMQG/qYCoFr6+wjEc1UiZ4ArJFhEHaLiwok5whTsTkYu/jwAiPWO6v+XWpBXWEt oPl8RdPPwWV/T1UM42ckjFD2ebDMbAxuA6BA9Hccq5YjOmPA13Y5gr8IdcClaZQb8rb/ zsR49RL+EyYRHj9/ph3YUOtFgRMAt54f/3yo14h6IbYs6ZW/RQOsB92mZDeYsUMPeSKo /hoitCMy80yPAIsZ6cjLB3dVgDroTAig+uxTvTjn1/v1SFO0T+fCYCzB6cgAXDYJC/0V bc6G94BqACY15j+FofLUCxxITcq59eksYEAvU9y/WDGnaOaY4ATgNlbaB8hYPnr8dblx Odqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CZAya96H; 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 t25-20020a056a00139900b006cbab77d0easi1628124pfg.162.2023.11.20.06.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:49:36 -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=CZAya96H; 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 7FFD58029141; Mon, 20 Nov 2023 06:47:32 -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 S233907AbjKTOrO (ORCPT + 99 others); Mon, 20 Nov 2023 09:47:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233785AbjKTOq6 (ORCPT ); Mon, 20 Nov 2023 09:46:58 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E66BC137; Mon, 20 Nov 2023 06:46:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700491614; x=1732027614; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JQUe43qQ5/h7AycERmmdqXzJY/9l7uxeRbLUgwcQF04=; b=CZAya96Hg+vjn40ytSC6AyM1/MrkhQHJw4oL9G6JvpZrxin4Mwj+6+ew q/PcZKkcW7cnKaTYCjhAPE5Q6NzOpJJEuP42zAGDsmq0Hym5OAY3Te8+w njN57Y+Amb0PaCgn5r4DCkTH0+Fri9zJbbe/ZD1v9kYOyV5ykV/+nBNQb l1hQtZ0gs13wSZgGix1RjrBQo3QlFfjGJDXap1ZOdqIh3ssEzD6fRwxgR r2uXSBtdAyIrMsaTBMvfWX79U+DsJL/ag75uIpTEPBEt3kETJQf3Xgv57 d0v0abyOveyYAika5GXIJW2dDjcNzvbiJGtSku+z+FyNDn/i2QHWVL+3t A==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="455956468" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="455956468" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 06:46:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="801193155" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="801193155" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 20 Nov 2023 06:46:49 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 926AC3E3; Mon, 20 Nov 2023 16:46:44 +0200 (EET) From: Andy Shevchenko To: Mario Limonciello , Jarkko Nikula , Herbert Xu , Andy Shevchenko , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Jan Dabros , Andi Shyti , Philipp Zabel Subject: [PATCH v4 09/24] i2c: designware: Unify terminator in device ID tables Date: Mon, 20 Nov 2023 16:41:51 +0200 Message-ID: <20231120144641.1660574-10-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231120144641.1660574-1-andriy.shevchenko@linux.intel.com> References: <20231120144641.1660574-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]); Mon, 20 Nov 2023 06:47:32 -0800 (PST) Make the terminator entry look the same in all device ID tables. Reviewed-by: Mario Limonciello Acked-by: Jarkko Nikula 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