Message ID | 20231006-descriptors-asoc-mediatek-v1-3-07fe79f337f5@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp343151vqo; Fri, 6 Oct 2023 06:48:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFavQBRXNr6RueBxcL0BYRRsCNK9DRgWF5ymA1ap6Bh3tMcCPhq472fcjKDFZJh0s2HgY19 X-Received: by 2002:a17:90a:d796:b0:279:e3a:1bd3 with SMTP id z22-20020a17090ad79600b002790e3a1bd3mr6475146pju.21.1696600087359; Fri, 06 Oct 2023 06:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696600087; cv=none; d=google.com; s=arc-20160816; b=Ncx8shBFYYTa4cC+NjW/UFFVS8aA0DAD2wxptVnbw8dNLLWa5Hin3Ds76fXiDU3sF1 XGFzsy90wqciJsC/NzwbCnHym5bfB90q448MQF40iyQJP+tu1sde8AfzJ10CAs/HbXlO JoMNPhdsBajpv+wSCp0kMnPZ+rf6e3J7bdxw7vwksaghomGBv0LB1oqPihbia5DxaFM8 Lqz483hWUttqpo4o2L50JMENPSWGqUFRmhEkT5WIsHi7Z+CWFfdOz7NhfoS3/sv0j7YO zjlWeJ8wIGPyQRdUbHn/t5PuYGIh+8WMbYqMtqXCaiSgB0XybT9XlgSlWijXQGgjVJ9T cLjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; fh=9EmQy3nV+j7AYsabaDMwbPlRU7+uz1cdK9KYarw9f+c=; b=t2L+nhVeCDnl5R7ZEBMUqrrnE3B5uulS0u7fg/yT++/SRNKFQ5Eh0pzLkIhAysKTEH 2ltTsCUjQnxXEMV0Ockl5I497WG8v4xlY0vopTzzQRbPa4ueg34Z5Vq9BzVLj75gxAKm qy2WSxiTFtrvNpblQ4mobDxEJQTgsERk0xjDfhwFtIBGRAmhzAC7IOj7QFDFvKJxn48M fUR8/XTH/c2jc8x8aS7BYMogPoi0mrJL9hi9IZ/sgh1eJ8QQk/MvNgbtWGmBN45I3pfh 9hyJZPS3jRl0a1BC/27BbL+8ynwcccUqn97ZYKaoXTuAtF7PetuqP0UHtZ9tbDbK36Gc ywhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mser5/1l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id pi14-20020a17090b1e4e00b00276bf69ac44si4268682pjb.5.2023.10.06.06.48.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:48:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mser5/1l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 68B8D806AFE4; Fri, 6 Oct 2023 06:48:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjJFNrb (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Fri, 6 Oct 2023 09:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbjJFNrE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Oct 2023 09:47:04 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AF0A10F4 for <linux-kernel@vger.kernel.org>; Fri, 6 Oct 2023 06:46:32 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50481a0eee7so4027489e87.0 for <linux-kernel@vger.kernel.org>; Fri, 06 Oct 2023 06:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696599990; x=1697204790; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=mser5/1lL17Pw+gZLiOv/Izo2sdLWvSD+5mNX5aQ5cCixs2F2ZoGk3fsNOq2JFsBEa lEFg8eR8JeCU8tqNOfT0KKaLkKmaYzIfXEem/WG/4UOgyRRrvftTcbWI9A9te2Ez+MbN Twd/xrZ1G8nr0DMAMxL27hlKLdrzLq5uglp3vXwoIvTaE1ZNIrkih0/et6lyCr1u38Gc BGtQmoefyzrZJUa0I+tZhq/7KtWnbuT9CDz/3UFHcVsFiGhpoiPEcftIfKfHLrV3UYOU 8udafGLcfMsSqT7mbcBOtKskFtdhNc+2jgpOu5K3XyEPfNuFPmFpQowRYC4RZZxbr7kv xDCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696599990; x=1697204790; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rbOUvzEjDlea4hheqP+YItFqmSWqoancs5Dg0PuH8cA=; b=XqdVK2hnb+FkxI5m4+O3w6aY9bMYLg/gd3tGhIYs4cEBaNg9ZclJBx4RtSH1SXq+dM XteJ/XupHheEiThMWq8NP7I5qUPvxOXcG/3ypV4f1fiemISOJ6YHx/ZA95PHbwnpWwGi v3zInsuZNxVG8atu3h3DAYkWOoycFrB221Bvg2oIOSgtROc2yNdFFT/ZTuai3e2Nmu0E oZZCKPa+HATVz38Wk30F8bJGSYBOpT12SqEUiLNqKfrJbrB/xuGNCRCKQL09APY6v2sq FZUOvYxiAiIVMA/GyAmdb4Btip5gEGxSiNCoHdDEbmErLoJfsf4WKVKW6bmK5cfZl3yw cEIw== X-Gm-Message-State: AOJu0Yz6qlIQOKlZe530+fwZIrIwn+WMl/WyyEVkvSCCzZQGfx7Ot7kW 4PwYOBwTBiVTI3LqJw8hPEBfpA== X-Received: by 2002:a05:6512:3e0d:b0:504:320a:b420 with SMTP id i13-20020a0565123e0d00b00504320ab420mr3957398lfv.17.1696599990012; Fri, 06 Oct 2023 06:46:30 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v25-20020a197419000000b004fe37199b87sm308733lfe.156.2023.10.06.06.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:46:29 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Date: Fri, 06 Oct 2023 15:46:26 +0200 Subject: [PATCH 3/8] ASoC: mt8173-max98090: Drop unused include MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231006-descriptors-asoc-mediatek-v1-3-07fe79f337f5@linaro.org> References: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> In-Reply-To: <20231006-descriptors-asoc-mediatek-v1-0-07fe79f337f5@linaro.org> To: Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, alsa-devel@alsa-project.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 06:48:03 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779014132979145455 X-GMAIL-MSGID: 1779014132979145455 |
Series |
Convert Mediatek ASoC codecs to use GPIO descriptors
|
|
Commit Message
Linus Walleij
Oct. 6, 2023, 1:46 p.m. UTC
This driver includes the legacy GPIO header <linux/gpio.h> but
is not using any symbols from it. Drop the include.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
sound/soc/mediatek/mt8173/mt8173-max98090.c | 1 -
1 file changed, 1 deletion(-)
Comments
Il 06/10/23 15:46, Linus Walleij ha scritto: > This driver includes the legacy GPIO header <linux/gpio.h> but > is not using any symbols from it. Drop the include. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff --git a/sound/soc/mediatek/mt8173/mt8173-max98090.c b/sound/soc/mediatek/mt8173/mt8173-max98090.c index bfb2094758ff..0200da192116 100644 --- a/sound/soc/mediatek/mt8173/mt8173-max98090.c +++ b/sound/soc/mediatek/mt8173/mt8173-max98090.c @@ -9,7 +9,6 @@ #include <linux/module.h> #include <sound/soc.h> #include <sound/jack.h> -#include <linux/gpio.h> #include "../../codecs/max98090.h" static struct snd_soc_jack mt8173_max98090_jack;