Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp465653imu; Mon, 5 Nov 2018 03:59:13 -0800 (PST) X-Google-Smtp-Source: AJdET5cv4uyGzApcXsDiraWs4Hm1ldZHXeidofoh+gxXBaRtcx+iMaBtcj2DzBuuHYG/748jLDAE X-Received: by 2002:a62:1f13:: with SMTP id f19-v6mr21869881pff.168.1541419152943; Mon, 05 Nov 2018 03:59:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541419152; cv=none; d=google.com; s=arc-20160816; b=0qYCFMqtcbkgh6orx+XOg5qZqn2nkwfwKyoPVeVm+3wzMV2mbEI9h0sIWONnmL7yF0 +OPGM2s8wp31wHQ0lnQscl6Ii6bTMUM8SW1Dc0gnuizLPpJPi4UIi5nRnb4yC5cp3Rpc jIlPqORUzFoIY3rB3jsSDhSI9eP89Y+R0Mg1X4/7QdQJkeCADMacez1uL6+fpedDOWwg 8vpIoxo+C4FIM7PMo9aIbBFjZFx6LUQ35csG56bjDZ+JkF5geXjNVdcEGguenJuxebvz P+/T5b1SK80e1ji26PVaF4As/z5dMsMWkV0DafC1dpzyWHCZf9KkDa/6F8mOvFxqKUIX bw8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=pIDVrl3lzPUFKvm/lAKTgFVLGnbFbZNuJyouyznyvEo=; b=EKg94Ld2MWaGKas1MimS1HZpMRXl1LqU68aPTuyjHk66rhBTC5gmGkSuE1cmIzOsTs dPTJszliGMvtg2t5NW0a7BgSKOCpm7cvKnraa1QxrEo1xXLbc95pOTLKKNijImGMRjGv 76g6brPaqb9ljoMVBLWeKf3aOOPUjBwQ2MdyswffUuEvZ9oVaIwpnV1t02Ci+Lvzzqif 2Zx446dtK4n8B3gFkKLV1x0QwandB1QPfiArSqa6omKpCSiovgMEPio/XqPIS13ghlzy 7bJiEHjZ09QvD7m4ieurKYPXMnW70By/+ObBkWZNN2Pb8Kvob0A0ief0/Jbiwa0B2wrK d8Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="up7C+zZ/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2-v6si2735290plq.336.2018.11.05.03.58.57; Mon, 05 Nov 2018 03:59:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="up7C+zZ/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729189AbeKEVRz (ORCPT + 99 others); Mon, 5 Nov 2018 16:17:55 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:39248 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbeKEVRz (ORCPT ); Mon, 5 Nov 2018 16:17:55 -0500 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=pIDVrl3lzPUFKvm/lAKTgFVLGnbFbZNuJyouyznyvEo=; b=up7C+zZ/B2LQ sGGcFmHkpRl0D4naamwhMay3Cn9Ujr/cScf+/WvECrEo9Uiw7JzQhgkqQiv+SKb8D570zFax33UzV ITUiTukT01gZ4XHPlzUcqJYSZ+OEkFYHMGTLTZEoM8Udo1FVO5PBUnJpHspnV/zc8Xed4NkFWJ383 YGJFY=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gJdWS-0008IE-9n; Mon, 05 Nov 2018 11:58:24 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 0D0071124D98; Mon, 5 Nov 2018 11:58:24 +0000 (GMT) From: Mark Brown To: Julia Lawall Cc: Mark Brown , Liam Girdwood , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown , alsa-devel@alsa-project.org Subject: Applied "ASoC: AMD: constify regulator_desc structure" to the asoc tree In-Reply-To: <1540706168-30601-1-git-send-email-Julia.Lawall@lip6.fr> Message-Id: <20181105115824.0D0071124D98@debutante.sirena.org.uk> Date: Mon, 5 Nov 2018 11:58:24 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: AMD: constify regulator_desc structure 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 de3636488cff3678bafaf2d024e64c003ed2beae Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 28 Oct 2018 06:56:08 +0100 Subject: [PATCH] ASoC: AMD: constify regulator_desc structure The regulator_desc structure can be const as it is only passed as the second argument of devm_regulator_register and the corresponding parameter is declared as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Mark Brown --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 3f813ea5210a..a5daad973ce5 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -403,7 +403,7 @@ static struct regulator_config acp_da7219_cfg = { static struct regulator_ops acp_da7219_ops = { }; -static struct regulator_desc acp_da7219_desc = { +static const struct regulator_desc acp_da7219_desc = { .name = "reg-fixed-1.8V", .type = REGULATOR_VOLTAGE, .owner = THIS_MODULE, -- 2.19.0.rc2