From patchwork Tue Feb 2 18:36:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 374733 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2F66C433E0 for ; Tue, 2 Feb 2021 18:38:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95D2164F88 for ; Tue, 2 Feb 2021 18:38:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238708AbhBBSi3 (ORCPT ); Tue, 2 Feb 2021 13:38:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238822AbhBBSh3 (ORCPT ); Tue, 2 Feb 2021 13:37:29 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 699A9C0613D6 for ; Tue, 2 Feb 2021 10:36:48 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id c132so15473072pga.3 for ; Tue, 02 Feb 2021 10:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=93B1hwUGpTMtS5SZqP8BFl4z4pGXcZ5Af5eOCl6zLTI=; b=nWFea0wTnaFq+z7Lcc4SZugVgpWGvP+yAdzXf/Ibm6IoU38mc/3LLoXHjvutxpyK6H LVeQVZEUGpnhfKSbWnwMDOlQX8OGK2XrKLmHMv2goN7/r+PAeEn2BKjFwTl9kxM5m/ce UnC0t6u8xQSds8Cwo6WbXzpAGgXmt9QtFjv6o= 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:mime-version :content-transfer-encoding; bh=93B1hwUGpTMtS5SZqP8BFl4z4pGXcZ5Af5eOCl6zLTI=; b=XFll42mTDdFVSXU+ZvdLVG85vVxGXx34RRidHd7ObsSfpwb8mkBJa7tG8pjW4sWKi1 FR/SOmUvheSPT99VUHMZVufkoYGMEiOecBctXz5s2H6k1KrjnvmCO4xTZtyYY/eRtOai WKczbrt1+ZMdww9P5dgA/7BILiYoceF4wRjbYXqws3f/xX8CGexOUu9yK8Vr//wRS+As Jvk3uHsRV2+QctwDPhNxsbGuv8SqG9WiCGhghGpy1eCp/mSovThbGYwXIRg2u2wDnzvN cWXI/omxv5R3CVKvRrNv2hZXYQSL4NuM0GhEzsW6wfz6XB9qAlqT4IT2ojLIRlmTypMQ 6saQ== X-Gm-Message-State: AOAM531RPzGWbKtMWpZh7iMa6+qPs4lRP9G4kqrcdkvnHWWONWS4ioU9 mpE4QqDtIiphCrNuxisP0FBrsIdxZZJ3ZQ== X-Google-Smtp-Source: ABdhPJx4cyLCDGVzd8QBXVdWMTSEG++Arft38UUmG7ky+whsyp/Cgtks2SZGoRJfWnqblrJCxoHJhw== X-Received: by 2002:a63:ce4a:: with SMTP id r10mr10177872pgi.3.1612291008025; Tue, 02 Feb 2021 10:36:48 -0800 (PST) Received: from smtp.gmail.com ([2620:15c:202:201:3571:bd6e:ee19:b59f]) by smtp.gmail.com with ESMTPSA id c204sm21781994pfc.152.2021.02.02.10.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 10:36:47 -0800 (PST) From: Stephen Boyd To: Rob Herring Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel test robot , Geert Uytterhoeven , Arnd Bergmann , Mark Brown Subject: [PATCH for-next] ASoC: da7218: Drop CONFIG_OF ifdef Date: Tue, 2 Feb 2021 10:36:46 -0800 Message-Id: <20210202183646.38602-1-swboyd@chromium.org> X-Mailer: git-send-email 2.30.0.365.g02bc693789-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This reverts commit a06cd8cf97a3 ("ASoC: da7218: skip of_device_id table when !CONFIG_OF") because we want to make of_match_device() stop using of_match_ptr() internally, confusing compilers and causing ifdef pollution. Reported-by: kernel test robot Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Mark Brown Signed-off-by: Stephen Boyd --- Please ack so Rob can take through DT tree. sound/soc/codecs/da7218.c | 2 -- 1 file changed, 2 deletions(-) base-commit: 19c329f6808995b142b3966301f217c831e7cf31 diff --git a/sound/soc/codecs/da7218.c b/sound/soc/codecs/da7218.c index 2bfafbe9e3dc..6d78bccb55c3 100644 --- a/sound/soc/codecs/da7218.c +++ b/sound/soc/codecs/da7218.c @@ -2278,14 +2278,12 @@ static irqreturn_t da7218_irq_thread(int irq, void *data) * DT */ -#ifdef CONFIG_OF static const struct of_device_id da7218_of_match[] = { { .compatible = "dlg,da7217", .data = (void *) DA7217_DEV_ID }, { .compatible = "dlg,da7218", .data = (void *) DA7218_DEV_ID }, { } }; MODULE_DEVICE_TABLE(of, da7218_of_match); -#endif static inline int da7218_of_get_id(struct device *dev) {