From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932642AbeDWVis (ORCPT ); Mon, 23 Apr 2018 17:38:48 -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 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 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