Received: by 10.192.165.148 with SMTP id m20csp3902721imm; Mon, 23 Apr 2018 14:42:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+7nhV9szw/wwA2+90+Pj9YKKcLII4hdwMl1tgl9N47uJciY2y2eLKwJjfZeRLyXEOUrX43 X-Received: by 2002:a17:902:b2cc:: with SMTP id x12-v6mr22182237plw.16.1524519759310; Mon, 23 Apr 2018 14:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524519759; cv=none; d=google.com; s=arc-20160816; b=FTf/nWVj6jOPSgr6/KE+boHGP6HWPk8KhntmBxH5k0etE589TGH/tqv52lENxbDOeg 1SOP9DxfxSuhkNuNmpgaZPjDZPcFsTo8NplylE7lqaIV8vbbFdAOXCK1E/Jg7sN0W+x7 M/MGberRBI2rmOunb4a4Nu0jk4tbdru0ipJEVJZO7IbQ5PVGiKQ3VwMUAsX/WCz3BXtM qxbYfVCUF7H4fnjrmwk1+WIlhq3rYfM0chFtWO9/pjpob3zqcLIH6NBSrGPa+TwH3c7m K3QpMmA4ichau3dUdZR3Z8GYwZJhgjKRFw7JeZVtLMUi6rQoi30R+Ujncu76I9dwDpKz hlnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=CWZdxLaVrxpvih1Hfu5xNXxaPsthYbdUl1p73tvnDPM=; b=hwJi48JRu4TVFPqvs9fwiNoQMpVwBlOp9/Tcf61WEJg3QJYfRvJqdc7FyNXQvWkFgE 0l3SkHo/sGjgQ5x46qRdn9jBsEB8h3lATHdYw2JMlMbFAxWnmUHnCvdzT9EfwECUv4Bo LzrlqJlR2XJhxqHWlZ17a3QALkUE2nkPbIespt18jgtkHiGQKprZwFZhkv+cVRZnkLfa jQ+4n3lNpGZ30Mo6iXYrId6ER0PdSHXt9YI6AchE1d+EQB/NKjfwwoJVqo2/O8k+yPVO rXDXV5rGK6UcUDeXh6n9HxkUqp68VbVdmCLuKYXE89RWGWfHT7LSigfE4szmlGjfqcGu YRSQ== 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 q9si11682268pff.109.2018.04.23.14.42.25; Mon, 23 Apr 2018 14:42:39 -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 S932640AbeDWVir (ORCPT + 99 others); Mon, 23 Apr 2018 17:38:47 -0400 Received: from bert.emutex.com ([91.103.1.109]:54300 "EHLO bert.emutex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932522AbeDWVin (ORCPT ); Mon, 23 Apr 2018 17:38:43 -0400 Received: from [92.51.199.138] (helo=statler.emutex.com) by bert.emutex.com with esmtp (Exim 4.84) (envelope-from ) id 1fAjBA-0007od-KN; Mon, 23 Apr 2018 22:39:20 +0100 Received: from 182.red-79-157-43.dynamicip.rima-tde.net ([79.157.43.182] helo=localhost) by statler.emutex.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1fAjAV-0003fw-Rz; Mon, 23 Apr 2018 22:38:40 +0100 From: Javier Arteaga To: Jonathan Cameron Cc: Javier Arteaga , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Dan O'Donovan , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] iio: adc128s052: reuse "compatible" for ACPI _DSD Date: Mon, 23 Apr 2018 22:38:05 +0100 Message-Id: <20180423213805.12591-4-javier@emutex.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423213805.12591-1-javier@emutex.com> References: <20180423213805.12591-1-javier@emutex.com> X-Spam-Score: -1.0 (-) X-Spam-Report: Spam detection software, running on the system "statler.emutex.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Dan O'Donovan Allow this driver to be ACPI matched by DT compatible string (through _DSD properties) when CONFIG_OF is disabled. Signed-off-by: Dan O'Donovan [javier@emutex.com: edited the patch title and description] Signed-off-by: Javier Arteaga --- drivers/iio/adc/ti-adc128s052.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dan O'Donovan Allow this driver to be ACPI matched by DT compatible string (through _DSD properties) when CONFIG_OF is disabled. Signed-off-by: Dan O'Donovan [javier@emutex.com: edited the patch title and description] Signed-off-by: Javier Arteaga --- drivers/iio/adc/ti-adc128s052.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ti-adc128s052.c b/drivers/iio/adc/ti-adc128s052.c index bc5096e98900..c823929db784 100644 --- a/drivers/iio/adc/ti-adc128s052.c +++ b/drivers/iio/adc/ti-adc128s052.c @@ -232,7 +232,7 @@ MODULE_DEVICE_TABLE(acpi, adc128_acpi_match); static struct spi_driver adc128_driver = { .driver = { .name = "adc128s052", - .of_match_table = of_match_ptr(adc128_of_match), + .of_match_table = adc128_of_match, .acpi_match_table = ACPI_PTR(adc128_acpi_match), }, .probe = adc128_probe, -- 2.17.0