Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp477486lql; Mon, 11 Mar 2024 08:12:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVL7HKbTLc/T8gDLKnK4iZT5xGhcHxHoE3C2ZO3jokUlU7G6VXVQylvrrmiExJnbyXx6+jU+8EZPKnbXDD50CKD/XZ8Ptda0z8bY/Jd9Q== X-Google-Smtp-Source: AGHT+IEGqrMafx7wYdHB6JWxsOt6TEf251CDb3QyaDu7v4Aa/iKuuqM+1KspY0gnVJXxX0mNK17h X-Received: by 2002:a05:6a20:1595:b0:1a1:5a12:9119 with SMTP id h21-20020a056a20159500b001a15a129119mr9152389pzj.3.1710169957250; Mon, 11 Mar 2024 08:12:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710169957; cv=pass; d=google.com; s=arc-20160816; b=0bxiY/ggLticSnbSr1uDJ4HVjXt+xkwzoAv4ZCVAM00xoXUVKtdw0krMIaMp6bUb/k OrvptiZV65e3DoIlXLGMgcZ0ApmgyEQYbrivwGuHtJhBJn4bv+WrFtTdQXin7V1XTsYe htQ3rI3LDCcCKXAd+9oSoX1S4l4a6raz14QZWvOR3g6hrfj7SKl8A3odnQVUt+QpIDgl G9TFUiEfZAOGWYRfGRCqhNQKFuozka5clYvMP0jCUfweXKm/toJ6FtmP2XJANO25FN0F itHMov7Gf5q8di9ro9sP3hMGbRexFhuRSNaku86RC31B2eZRP9j0WBCfB3z5HWZTLLUD z+5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=5HVVDa6UgNOLe9+tnOIDox1wP6JZCE96k06AzhmEs84=; fh=qWMnbQq2/dpM5FLQInhR9xnKrVHO9c6815AJvBaBNJU=; b=zw322KouTEkIpOGKKZQSkyCGmZKLfK638fhLAzWZN3RFxOelSQvVs0QvH7+rCGaRkt CMwdXJU0sK1XtbiLiPVwGHrdYftc7Dhb5FzEHl5Qjee47UR1ezEMWZrgHWgt1uDnP6dB hJ0OC4tk4yx4QUcOA7INJP6zbXJr6UaUCZm+1sKOhstqfoc4at8FbM5EmnyTutPSIJYB LOj/Vr3DnmZoxfT1BsHGkiSyeBgcLyBnTQDWILPoFcjRpySS8G9HO9V5hq0XjSCX32ic ngfzHOPJRoAMsV1LVmS6NgxJOwbzGxMHavP2oRLqDlebMVZjqrS7CNlJ3AihtgfI9bY2 4ZqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T1wyx1qU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e3-20020a656bc3000000b005dd565d7626si5315029pgw.900.2024.03.11.08.12.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:12:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T1wyx1qU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99048-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 744E1B20C40 for ; Mon, 11 Mar 2024 15:12:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4540841E22; Mon, 11 Mar 2024 15:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T1wyx1qU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 657D841C92; Mon, 11 Mar 2024 15:12:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169940; cv=none; b=W+hAog+ptz+mDlkSfq+AIgJ1TllmA5nbpojwg6wfJuj4P+7KuWGWguVn0Hh6W4EoDyPHs0JChl0jhcUHodeJlzdPNEyzFVMkf1Wrzuh8P6J/7gjqhXF/vMnjIC0ZyzHhAld876MDaeDYabViDODJS2vBFMorwywIZ7SJFjA0Uzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169940; c=relaxed/simple; bh=YpUu2CjLMI0+YD/GN0Etjr06QCUFEP9kP/OYotHlol0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IB2qx/WeE/Jf+vEXv+Vx8xUp7+kmkya7YrwhhbdEhtWbQAHqZWM/hO994gfTR++obiqdUQr98xTDQjN9yVvFWGap93kB6DRP7jzZOl6HQ8yGAEdlnCQVBP+qXbMrKUAfZX/NT0MkrHCfDL4uYF1IrLl8IGbeafz9uYd90gJJ3GE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T1wyx1qU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D0C5C433F1; Mon, 11 Mar 2024 15:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710169939; bh=YpUu2CjLMI0+YD/GN0Etjr06QCUFEP9kP/OYotHlol0=; h=From:To:Cc:Subject:Date:From; b=T1wyx1qUdvYS4roeV1kesiezTLKphL+Q37Owf9irJZfz7tFyag18gLSll4h5k9uca KvX3Ukt4jRYXkTgyzGWVx42O8p14nqCacdYpyfoRBAxSDXpKidj9hl5M2rUKupzWBi FvY+XoNsuZOqz7SmYejKjXywKZWeluGa+X1uEoLSCsLTZgL6XitZxDNEy5KEENSJGy CzT5izp7ER9QYzVWmsPPU6DMpsry23IEc6/XZxkV40HtWQvfg3nEpTX6kL8895nMdx ig22twxEXOC1qpiOCBnQkB5dxfXMayEz3VqHLHZ0V8YVEFOCwjqWV3xIVIHhuKkF6b MAUfsIWaSQgXA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Naresh Solanki , Mark Brown , Sasha Levin , lgirdwood@gmail.com Subject: [PATCH AUTOSEL 6.7 01/23] regulator: max5970: Fix regulator child node name Date: Mon, 11 Mar 2024 11:11:41 -0400 Message-ID: <20240311151217.317068-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.7.9 Content-Transfer-Encoding: 8bit From: Naresh Solanki [ Upstream commit e5d40e9afd84cec01cdbbbfe62d52f89959ab3ee ] Update regulator child node name to lower case i.e., sw0 & sw1 as descibed in max5970 dt binding. Signed-off-by: Naresh Solanki Link: https://msgid.link/r/20240213145801.2564518-1-naresh.solanki@9elements.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/max5970-regulator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/max5970-regulator.c b/drivers/regulator/max5970-regulator.c index 830a1c4cd7057..8bbcd983a74aa 100644 --- a/drivers/regulator/max5970-regulator.c +++ b/drivers/regulator/max5970-regulator.c @@ -29,8 +29,8 @@ struct max5970_regulator { }; enum max597x_regulator_id { - MAX597X_SW0, - MAX597X_SW1, + MAX597X_sw0, + MAX597X_sw1, }; static int max5970_read_adc(struct regmap *regmap, int reg, long *val) @@ -378,8 +378,8 @@ static int max597x_dt_parse(struct device_node *np, } static const struct regulator_desc regulators[] = { - MAX597X_SWITCH(SW0, MAX5970_REG_CHXEN, 0, "vss1"), - MAX597X_SWITCH(SW1, MAX5970_REG_CHXEN, 1, "vss2"), + MAX597X_SWITCH(sw0, MAX5970_REG_CHXEN, 0, "vss1"), + MAX597X_SWITCH(sw1, MAX5970_REG_CHXEN, 1, "vss2"), }; static int max597x_regmap_read_clear(struct regmap *map, unsigned int reg, -- 2.43.0