Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp269123ybz; Fri, 24 Apr 2020 15:49:02 -0700 (PDT) X-Google-Smtp-Source: APiQypJkK+DLQii5AAU9s26ZwKUaXxCDaw6gk2BaqfPJaOj5tHhvDYRWMLfX2XCIdJZ0j/NFW++X X-Received: by 2002:a50:ec95:: with SMTP id e21mr9557474edr.253.1587768542165; Fri, 24 Apr 2020 15:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587768542; cv=none; d=google.com; s=arc-20160816; b=S/JoBP9y+wyeIPfc/nSjvRy4sLWsVGeGjBI+/2H7qh/Oeqx8/ezpRN2Zg24NNq7qT2 uojQsKhIPdYnpq/JJE5ijHG7bEeFMA13KgW4XbA1ZZsakMa/tN4AgmwwwssK7P9KCnDB Fv5r/f6698goMFamLqhb8d2gV4XSwejUIvucr7zb8ON+M2ORTGfQEDa12RCdByAzIL0S EJaXZMxyYvFOlSlFvlDo1NJV6rhy08dkV5qa0FiiTHD/SBlSMadqlO6rwco1FW3mL9tV EbUWZgNCKCsvwreLWID8EcbZN1jOjnB29A790I/fqllY5fLNg6gNxT8CEntTiSUvfoMC jvGQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mrRqQizheOvH/qCAN4bWl/aYIkfBy7BwNmyYYA+VSq0=; b=Tt14L+rFayGqwLYdlVt18CFPDovollumXCNAF16WdeP49D6u6TSvXFZWUez9arUEoq anNlmkxnes53v7+jMuK+ZoKadaQ/1TzkxbZCFrHIhnlUfdQvB8Qt+jfWSnYL0Ilkfvb/ KrOfqBX4VUMf3113/HUiaxJVaCsZFDQZxHod40FTw9TkbplK49oPznXWU2C0nBEARKx4 emoeIKTmpJ0kMh6UetlKnXewUC63AGyoZ/drgXKM+rrnKCZ3Cd+6/FJs9tuIu8fE0sMr vT905FTrrrzxZmAOP3ftczz16EEnCVLopVZTjKN7+PQl3Y2MEc1rRlBPGRWwTbsynVkY IXdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pfm40cwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si3961674eds.336.2020.04.24.15.48.39; Fri, 24 Apr 2020 15:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pfm40cwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbgDXWox (ORCPT + 99 others); Fri, 24 Apr 2020 18:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgDXWow (ORCPT ); Fri, 24 Apr 2020 18:44:52 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 085B2C09B049; Fri, 24 Apr 2020 15:44:52 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id d184so5519348pfd.4; Fri, 24 Apr 2020 15:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mrRqQizheOvH/qCAN4bWl/aYIkfBy7BwNmyYYA+VSq0=; b=Pfm40cwQQa63jKELU9lOW7PJCoNTyl0E8w5sdQ1CuTjeOJZyD0RI5cnj9rg5Btr/4B 2edJFrJ3aBHXYYJtLEClj4T3psb+xI4VxTuVcCm+Oh9XQXv3NL4k4Tss+olVf2lDevBt ObUCV+ysDRjyrDbe3IpBFM1QUT7YqV8fAX4OYsWbthAr1WTeHfrLaa+atZiBCDxtDUc1 C1LGEaVvt4ITBl4XcHzvg/B6ZMetQookwqlU6qgv6behxD0u0BVhejOU0NqIFYYyQhSH lriOU1joqplLCvz8HtkE+1mZjyEJaiWt9G9G976q8qPuZNxoLAnmtmtCezzz1h43+wC1 /0YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mrRqQizheOvH/qCAN4bWl/aYIkfBy7BwNmyYYA+VSq0=; b=to9+GIvOguJj+xWbfj8RmguVFNNUMJYEAl/0NYxOaIU9Eh7VqYBimt2yPvjSVooEO6 +6MDeed2oLCWCcsWaKkVrDDGiLRaWIRXFBFbJLVITiHyIRpnWepA9HJ2Z1YV9+HOA0X+ NF9y25kAwH9fOHSoXa+CP2+KvK4+J+IL6QoQ2HmhGHMTqWlEz945qVbA2OLe/gU2T9ot XmK+EbouP05zKFJiBnp/0FNUbWgQVC3858Clv81slQ7t5XykmASkPXKjVHhqcEhGo7iJ l/N0QFlnB+0rX0FwMkFIh6Ipy0H/PVfk3h2430a8Ku3hSgDcW3U1fDs90F70Ytr+nmqy D03A== X-Gm-Message-State: AGi0PuZKk4T9NyXZhIVxl9poSQHe42mq37oO5YvKwY73ipNyzhS4IL98 dKc7ELKR3R6BxvNgrJgTTGU= X-Received: by 2002:a63:e54a:: with SMTP id z10mr11306654pgj.346.1587768291654; Fri, 24 Apr 2020 15:44:51 -0700 (PDT) Received: from nish-HP-Pavilion ([2409:4072:610b:e3c6:8c8d:27b8:7b5b:c4d9]) by smtp.gmail.com with ESMTPSA id 82sm6441002pfv.214.2020.04.24.15.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2020 15:44:51 -0700 (PDT) From: Nishant Malpani To: linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, alexandru.Ardelean@analog.com, nish.malpani25@gmail.com Subject: [PATCH 1/3] iio: accel: dmard06: Use mod_devicetable.h and drop of_match_ptr macro Date: Sat, 25 Apr 2020 04:14:37 +0530 Message-Id: <20200424224439.5601-2-nish.malpani25@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200424224439.5601-1-nish.malpani25@gmail.com> References: <20200424224439.5601-1-nish.malpani25@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enables ACPI DSDT to probe via PRP0001 and the compatible property. Signed-off-by: Nishant Malpani --- drivers/iio/accel/dmard06.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iio/accel/dmard06.c b/drivers/iio/accel/dmard06.c index 2bf210fa4ba6..ef89bded7390 100644 --- a/drivers/iio/accel/dmard06.c +++ b/drivers/iio/accel/dmard06.c @@ -6,6 +6,7 @@ */ #include +#include #include #include @@ -226,7 +227,7 @@ static struct i2c_driver dmard06_driver = { .id_table = dmard06_id, .driver = { .name = DMARD06_DRV_NAME, - .of_match_table = of_match_ptr(dmard06_of_match), + .of_match_table = dmard06_of_match, .pm = DMARD06_PM_OPS, }, }; -- 2.20.1