From patchwork Fri Mar 2 13:17:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 130538 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1263279lja; Fri, 2 Mar 2018 05:18:01 -0800 (PST) X-Google-Smtp-Source: AG47ELurZISWiYfB13688ox2DBeWFy1EBAfSB4TsRm17PVebpvgfGzcyOLLkBgwDlgclppatolVG X-Received: by 10.28.66.197 with SMTP id k66mr1634636wmi.58.1519996681229; Fri, 02 Mar 2018 05:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519996681; cv=none; d=google.com; s=arc-20160816; b=GVh9pBRdZQPu2X1IaHxXMNc7ek9emcBdBigUGgpiH6fuyAjbBl2j8xSmbQxz3nXJAL MlFeYZBioqByoGaLfXPD3wT3RwlovNZgDpCwWBKtDgmdodtot2v13/O9wYWPtCNyDLOW db0pNrFSYpGThpSL6+rmk6tR/qBSgpIX83S/dxW3hZGEh274nRE9dHzmvP4LAmMneLOF YG5ut8skwte+FQp51i3WbsEjC5Yv/19NlmPL+E0sYUD7tDBRWgQCkbqnar/zW+dDu5bV 7ZMcaiefixA3YQdLwUKM91T02KIfm+SIrLvDcENZZ8qanNeqscBBGCZT1m5C5/VUJUh6 3bYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=zPpm1Uj7edH/3LM9WffjI5WS3b6zNB1Hps1FYVK7yMM=; b=B1bETv2foFq3dreEJkcKBdfXcBIOsgYUpafIElL6hhKqGtvgvi4kcGCA7ZftgjnZSL nSywGrnalurQIXIn+881n3xNFpOlKZBHtg5y5Z3c6no2SqlYiZxabMHUc6q7begaMkfi qtbXZUWkD1Tu+UKL4UrPyzmVz/E94kMX90wMmm/c+u1X6PCiXlopaUxi4lM4HroFJJWs vp4xQt4Yc/sCQx0Euh5V+UteaDc5Isez0OxdDCteePabIYMTRyNxmbV/s51BZNt4O+4g TCLu8uvaBovsD7odU1xcCNC+u3tnxwuhMdAmRXXvy6AuRpCkY9iTUBjfEKT6a488nBMZ 6BYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xMPnC/be; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r11si871835wmc.237.2018.03.02.05.18.00; Fri, 02 Mar 2018 05:18:01 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xMPnC/be; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 456C22673E1; Fri, 2 Mar 2018 14:17:59 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0AE282673E8; Fri, 2 Mar 2018 14:17:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 12919267377 for ; Fri, 2 Mar 2018 14:17:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=03tkTzSI48ajgGA4FG9oubZXrHj/EHhzW0VXKz50iT0=; b=xMPnC/beEwwQ 1w4zQ3HWxW1KbfuQI82MXGolYjVUiMe+WZemKJ1twiT/+YGQAD8ifyblaX9rRRd//6X7cktDqbVNv n0BljAykRGMkcmdb7B1YvjnsYmN296J0YY+vrB0EVW9QjV/dPngE9WOQWVTI9HcHL5XLugAM/zfva MZVn0=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1erkZN-0008TH-Nr; Fri, 02 Mar 2018 13:17:53 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1erkZM-0006EF-Fr; Fri, 02 Mar 2018 13:17:52 +0000 From: Mark Brown To: Ladislav Michl In-Reply-To: <20180301142027.GE30722@lenoch> Message-Id: Date: Fri, 02 Mar 2018 13:17:52 +0000 Cc: alsa-devel@alsa-project.org, Mark Brown , Alexandre Belloni Subject: [alsa-devel] Applied "ASoC: max9867: Drop probe function" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: max9867: Drop probe function has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From b3e9c3f0d98135d8b9991c2a34e42627c20664a4 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Fri, 2 Mar 2018 14:11:00 +0100 Subject: [PATCH] ASoC: max9867: Drop probe function Driver probe function has no use and can be deleted. Signed-off-by: Ladislav Michl Signed-off-by: Mark Brown --- sound/soc/codecs/max9867.c | 10 ---------- sound/soc/codecs/max9867.h | 1 - 2 files changed, 11 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c index 349d9cc116ee..4ea3287162ad 100644 --- a/sound/soc/codecs/max9867.c +++ b/sound/soc/codecs/max9867.c @@ -413,17 +413,7 @@ static int max9867_resume(struct device *dev) } #endif -static int max9867_probe(struct snd_soc_component *component) -{ - struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); - - dev_dbg(component->dev, "max98090_probe\n"); - max9867->component = component; - return 0; -} - static const struct snd_soc_component_driver max9867_component = { - .probe = max9867_probe, .controls = max9867_snd_controls, .num_controls = ARRAY_SIZE(max9867_snd_controls), .dapm_routes = max9867_audio_map, diff --git a/sound/soc/codecs/max9867.h b/sound/soc/codecs/max9867.h index c0aea3d1f2ba..55cd9976ff47 100644 --- a/sound/soc/codecs/max9867.h +++ b/sound/soc/codecs/max9867.h @@ -75,7 +75,6 @@ /* codec private data */ struct max9867_priv { struct regmap *regmap; - struct snd_soc_component *component; unsigned int sysclk; unsigned int pclk; unsigned int master;