From mboxrd@z Thu Jan 1 00:00:00 1970 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 4E2C17472; Tue, 23 Jan 2024 00:26:47 +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=1705969607; cv=none; b=EhTIzqFcyjP0J/QsBg38mlWSwMSTpAB1ULrdymNGDoAHWWyj9cGDlW/D2YRxmO/rupx5CPQ/wyCMk6WhjROmnZhFa7OcISznQXZsZw5BlXV2kRE5g/hKx4EKAgnWktHznB7hHsWxtVJCSMZgXHaM55Hhum/ATAbITUq7J72qc7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705969607; c=relaxed/simple; bh=KNQ9yhSUh7+djwL34eDu7gsasqHCy0HSSZHoiX8Cx38=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PfqVhNowvubODgy8l8n5JcconetacJv0Na3yKn8SJa4axbb/T31IYr0mCNPoRyprGlt5PXNwrSZaZHRFDmO085Eo6Xkv3fV2SORIEOM0BpS+/NWvzHgzzfvFPQnR3FQgxxS7f1rsSE97XMRB7SLgtl0H2w9jl78WDYZUVUOrCIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B3ZFz394; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="B3ZFz394" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11C30C433C7; Tue, 23 Jan 2024 00:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705969607; bh=KNQ9yhSUh7+djwL34eDu7gsasqHCy0HSSZHoiX8Cx38=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B3ZFz394Ivq+V2S7i6Th6EPJTmNYKAaIkmxEvBVW4kRqdJtmEnonz1/4HC7plgNRH SSoMkJhide9DzEf1n/RnvZMuapLyvTyiPDmXL5BAwhjFeTLxwKkq/W7QJ6votjlsmN 6DfaVoJRmgHdNPEst0f8Zo61lOXgkJ6zNYu9gQ8U= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Th=C3=A9o=20Lebrun?= , Stephen Boyd , Sasha Levin Subject: [PATCH 6.7 354/641] clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw Date: Mon, 22 Jan 2024 15:54:18 -0800 Message-ID: <20240122235829.009671509@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235818.091081209@linuxfoundation.org> References: <20240122235818.091081209@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.7-stable review patch. If anyone has any objections, please let me know. ------------------ From: Théo Lebrun [ Upstream commit ee0cf5e07f44a10fce8f1bfa9db226c0b5ecf880 ] Add missing comma and remove extraneous NULL argument. The macro is currently used by no one which explains why the typo slipped by. Fixes: 2d34f09e79c9 ("clk: fixed-rate: Add support for specifying parents via DT/pointers") Signed-off-by: Théo Lebrun Link: https://lore.kernel.org/r/20231218-mbly-clk-v1-1-44ce54108f06@bootlin.com Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- include/linux/clk-provider.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index ace3a4ce2fc9..1293c38ddb7f 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -448,8 +448,8 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name, */ #define clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev, name, \ parent_hw, flags, fixed_rate, fixed_accuracy) \ - __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw) \ - NULL, NULL, (flags), (fixed_rate), \ + __clk_hw_register_fixed_rate((dev), NULL, (name), NULL, (parent_hw), \ + NULL, (flags), (fixed_rate), \ (fixed_accuracy), 0, false) /** * clk_hw_register_fixed_rate_with_accuracy_parent_data - register fixed-rate -- 2.43.0