Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp348988yba; Thu, 18 Apr 2019 02:16:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwi/oNeSGKkQs8Czt4tySGcl+iQpaUYfqtr/pQkKQBam6rLl/Laze95DFm9cgjVN9MU9ZM/ X-Received: by 2002:a63:1359:: with SMTP id 25mr85726024pgt.92.1555578983523; Thu, 18 Apr 2019 02:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555578983; cv=none; d=google.com; s=arc-20160816; b=0mkkQrsRZ0GsC1ycdwUakHJiELXfob/9B7EA+bTmPf759ML0P+nVNRZ3Z2vNW9IErj bM2tCo/7+JAJetcKhpVm02pL+qSor9r+mzMWxli2HXZC4rORfQraKIEGxloF8RJUjaLG oGWsK+NRlNKStxmHzbsMZK3nv1ErA5MtY8a8GefM8u/NKPsBJMwdXlAgNbSjuqpFwOaO 29C0sfR6OJ6oWuzCN4YghRkzXfRIfpG1CpuYez94eV3IY3xdLFJQoiVY+5QpudhNcZhh dIOviWbWHvBSjJ8MokoeeiP9JrYuYx1QSqiXIfLwMzrDlOZn+oyQVrOjzrbo8V2k9S4O g5gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to; bh=wCQaU0/LaImWvzS41A1KYpiDrRgVDrrDtMiXxj4wie4=; b=dT26kHJe44MNI08BXmZzW4XiW7ai/cdisk2lNk/p4aMC4RFqfA0cfJxXoju1O0SEzk fOq1aTKF6eB0XNTPs3u6h4aHNtt63utvqw5svLbV4n/YS/ymw6rMf19LZaltcs0zeICL wOvpKYZSPXGadCysF60b6gPrjAQwBSh9BnFbANJsD1SLwN7lf7vJbpw93d/cQdakpO4g mReox491WbIBpKrUn7Fn2Nn6cFLGfDiI7fii+9JublvxUVKS7o1Bulb8UNbV/QtTjTLM tUvoOmxn/sBFIhymmAd5hiDRUxsLYBTr/+CFhguQgBN7fzdHThBEP4cxcHSMAs/cERlV eiOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si1330978pgp.161.2019.04.18.02.16.08; Thu, 18 Apr 2019 02:16:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388405AbfDRJPE (ORCPT + 99 others); Thu, 18 Apr 2019 05:15:04 -0400 Received: from lizzard.sbs.de ([194.138.37.39]:41553 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfDRJPE (ORCPT ); Thu, 18 Apr 2019 05:15:04 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id x3I9F06Q004363 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Apr 2019 11:15:00 +0200 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x3I9F086009977; Thu, 18 Apr 2019 11:15:00 +0200 To: Lee Jones Cc: Linux Kernel Mailing List , Andy Shevchenko , Su Bao Cheng From: Jan Kiszka Subject: [PATCH] mfd: intel_quark_i2c_gpio: Adjust IOT2000 matching Message-ID: <06b89c06-462a-788e-20f9-aa71ac1507b4@siemens.com> Date: Thu, 18 Apr 2019 11:14:59 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Su Bao Cheng Since there are more IOT2040 variants with identical hardware but different asset tags, the asset tag matching should be adjusted to support them. For the board name "SIMATIC IOT2000", currently there are 2 types of hardware, IOT2020 and IOT2040. Both are identical regarding the intel_quark_i2c_gpio. In the future there will be no other devices with the "SIMATIC IOT2000" DMI board name but different hardware. So remove the asset tag matching from this driver. Signed-off-by: Su Bao Cheng Reviewed-by: Jan Kiszka --- drivers/mfd/intel_quark_i2c_gpio.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c index 5bddb84cfc1f..11adbf77960d 100644 --- a/drivers/mfd/intel_quark_i2c_gpio.c +++ b/drivers/mfd/intel_quark_i2c_gpio.c @@ -74,16 +74,6 @@ static const struct dmi_system_id dmi_platform_info[] = { { .matches = { DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"), - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG, - "6ES7647-0AA00-0YA2"), - }, - .driver_data = (void *)400000, - }, - { - .matches = { - DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"), - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG, - "6ES7647-0AA00-1YA2"), }, .driver_data = (void *)400000, }, -- 2.16.4