Received: by 10.192.165.156 with SMTP id m28csp736017imm; Thu, 19 Apr 2018 06:47:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx48wPBzNGMlx1EJ9R34Mo1+dyT9sayyqLfkgjMXj2fsermpoPgFieL3QjRZ0N/Ide0MgNm9/ X-Received: by 10.98.24.214 with SMTP id 205mr5324288pfy.242.1524145638224; Thu, 19 Apr 2018 06:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524145638; cv=none; d=google.com; s=arc-20160816; b=RrBaIZzM2ICOxOCsx+5ySgC+9R0Rc3A/Nqy/E6ECIwGBKtAwegMwpesrvGiskBcr86 ZwLmJjB/etvDrwL17pXdstFlpQ47IF191VtnHCHRebhK0s6lmKJ+o3bsbZ3Tty1S39fP 0nmyhDScN1906QxwtQYwW26HJb8+fhBAHIbYSaXZ4gr9oh/6S9yEJ5qlXl/vOHaDAerH KzfZlyRK/wG0ThwUZwx9y3or1LXIGHgjyZ/SWLRVeDeVDgf0Nz9iwdizEkVoxhbkJfuH lbfLe7ycE8sfddbJ815VLNJSj9omPnv6yrX0DrS0bXlQtCSjkALUhWx2uBAFcvHMOMyz 33gQ== 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=5QAPL28sla6THSTpRA4LOcqLz0+8ABuqWp6FTex7/pU=; b=kHHu7Gw5q941Y28jkZEqx/4BYCiByCZ0RL0fJ9ActMWstiAiES7RIScx7RWS4pEKOT foUhV+vbdmHTPngMHGJp2oO1FpSWzL379gjU8aXQw87sa4hT8RxL+01JwpWJZFJhsCYe cSdCpZtMLGkYJs474pelfjFKyUbVqv7FPGGFmqnKdJLjX7HwT3BJp63NS1ojf0YfCb+Y QQWWdI4+2M1RDsINBizzVZAsYm33f9mT4W80E+dMSTXx3d6ssNs9yH1bZS83QOUSioai 7YxPGZpYdPddgza9Mz/12UO2tKf9lx3AHqxzZaN7NzIZjg/T2oO2ZA4gadVqMutDr5JD iQlg== 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 o12-v6si158981plg.463.2018.04.19.06.47.04; Thu, 19 Apr 2018 06:47:18 -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 S1752776AbeDSNpq (ORCPT + 99 others); Thu, 19 Apr 2018 09:45:46 -0400 Received: from bert.emutex.com ([91.103.1.109]:53636 "EHLO bert.emutex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbeDSNpj (ORCPT ); Thu, 19 Apr 2018 09:45:39 -0400 Received: from [92.51.199.138] (helo=statler.emutex.com) by bert.emutex.com with esmtp (Exim 4.84) (envelope-from ) id 1f99V7-00024R-0f; Thu, 19 Apr 2018 14:21:26 +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 1f99UT-0001UG-76; Thu, 19 Apr 2018 14:20:45 +0100 From: Javier Arteaga To: Jonathan Cameron Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Dan O'Donovan , Javier Arteaga , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] iio: adc128s052: allow driver to be matched using ACPI Date: Thu, 19 Apr 2018 14:20:35 +0100 Message-Id: <20180419132036.27493-2-javier@emutex.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419132036.27493-1-javier@emutex.com> References: <20180419132036.27493-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 driver to be matched by compatible string in ACPI device properties. Signed-off-by: Dan O'Donovan --- 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 driver to be matched by compatible string in ACPI device properties. Signed-off-by: Dan O'Donovan --- 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 7cf39b3e2416..56ec04d1c68f 100644 --- a/drivers/iio/adc/ti-adc128s052.c +++ b/drivers/iio/adc/ti-adc128s052.c @@ -202,7 +202,7 @@ MODULE_DEVICE_TABLE(spi, adc128_id); static struct spi_driver adc128_driver = { .driver = { .name = "adc128s052", - .of_match_table = of_match_ptr(adc128_of_match), + .of_match_table = adc128_of_match, }, .probe = adc128_probe, .remove = adc128_remove, -- 2.17.0