From patchwork Tue Jul 28 15:12:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Campello X-Patchwork-Id: 11689343 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4AA4D14E3 for ; Tue, 28 Jul 2020 15:14:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 32BFA206D8 for ; Tue, 28 Jul 2020 15:14:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XHy3Hkgo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730715AbgG1POY (ORCPT ); Tue, 28 Jul 2020 11:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730729AbgG1PNS (ORCPT ); Tue, 28 Jul 2020 11:13:18 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1BFC0619D6 for ; Tue, 28 Jul 2020 08:13:17 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id y18so8041307ilp.10 for ; Tue, 28 Jul 2020 08:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X77SPgqeRzIi7EPS0EuqxV7/IKv3AykZrtE724jPXxg=; b=XHy3HkgoBzyU7B0kjB5UebEtF+vf06VHhx0/jKsJcL5bugXvMSbqZpMi8LdXQsiAhs pA9Q4Mvy6EMrzMQqeo179qzEolOlL2P210L6mZPhKXNPHkK3jYFB+kyEovPurqDOskHe ruyA7I6IGIUfSEYtFOk+INJ51lS916hhvF6MI= 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=X77SPgqeRzIi7EPS0EuqxV7/IKv3AykZrtE724jPXxg=; b=HAB3O4gGs9T6xtAJX5ABAf8gXNpI0QhhKMNMfmU+/mhwMwUNW/lshMsstMudMXTy2e VKII0FARsbz9bBiyC28UamTRPuhPwzyw7V9CsQPjmUkSfSy0iQfZiERlb3ctgQj8WUc/ 67TnG9o6ZV+t77o71RXFkFoW+DBXfhkcSIHY7qaexgRZvTaMYMShd3KkqHBRs9welpOR 5GUq0bcFifvaDFr85zSC8rEDmWuxrpeQHWxxnpyRoYk5yvv3V5LtCKxDXaGX9mTMOvgy W4q5h8xsyTbVlM9eLxuypcsfThR+C5ops5ZA0vwZ42tDD8IHbrOGTMCibm9fouvQpe8b 7/hQ== X-Gm-Message-State: AOAM532wIwHBMFCDyxj7OROzP/8dHOpsOyE3doN0gTuZDWv2Flu2qYy7 YSFIULMb0Y4+Eb/xMZrTAvNfOA== X-Google-Smtp-Source: ABdhPJySXXN72bxVJJIeBDgnmesD5K+vdd8uvbwtfSploVLqeodEPgHI3v5z+I/kvRvKqA3xmgBA3Q== X-Received: by 2002:a92:1b5b:: with SMTP id b88mr22688298ilb.104.1595949196575; Tue, 28 Jul 2020 08:13:16 -0700 (PDT) Received: from derch.Home (97-122-92-59.hlrn.qwest.net. [97.122.92.59]) by smtp.gmail.com with ESMTPSA id q70sm6399781ili.49.2020.07.28.08.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 08:13:16 -0700 (PDT) From: Daniel Campello To: LKML , LKML Cc: Jonathan Cameron , Daniel Campello , kbuild test robot , Douglas Anderson , Gwendal Grignou , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Stephen Boyd , linux-iio@vger.kernel.org Subject: [PATCH 04/15] iio: sx9310: Remove acpi and of table macros Date: Tue, 28 Jul 2020 09:12:47 -0600 Message-Id: <20200728091057.4.I33c50453845a8167969130d514af86e573b6ef31@changeid> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog In-Reply-To: <20200728151258.1222876-1-campello@chromium.org> References: <20200724183954.1.I2e29ae25368ba8a72a9e44121cfbc36ead8ecc6b@changeid> <20200728151258.1222876-1-campello@chromium.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Avoids unused warnings due to acpi/of table macros. Signed-off-by: Daniel Campello Reported-by: kbuild test robot --- drivers/iio/proximity/sx9310.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c index 76b8bedebeef50..0fb88ad66f7342 100644 --- a/drivers/iio/proximity/sx9310.c +++ b/drivers/iio/proximity/sx9310.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -1051,8 +1050,8 @@ MODULE_DEVICE_TABLE(i2c, sx9310_id); static struct i2c_driver sx9310_driver = { .driver = { .name = "sx9310", - .acpi_match_table = ACPI_PTR(sx9310_acpi_match), - .of_match_table = of_match_ptr(sx9310_of_match), + .acpi_match_table = sx9310_acpi_match, + .of_match_table = sx9310_of_match, .pm = &sx9310_pm_ops, }, .probe = sx9310_probe,