From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 6D4373E5EC2; Wed, 30 Sep 2026 19:05:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790795132; cv=none; b=UD9UgV5yWbM9K5VeJwylBWdeMSoqCGQPprZkBZXk7+856ZeCCebZOmIMKp3/JMrLdpwAz0lYzt44QrfPjZ0lUBr2nfUwrd6gu9Jqvgn2TLLQaxvYmO2cITMg8RBoVcICw3wA6lLxhwAo7jAciei5Yu52Dly0sWGqMPoIuN3uuTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790795132; c=relaxed/simple; bh=4Pt8NId0LFTuMycEot0UAhIrBY/WxclWkEoGUlQl1oY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h4XWL8OweZ3m9LNGLYQumLTD+hTd5NR97MKFYMlL7/sFeEs7a6XtDBeWwGdbum7Ngns6EAUBZkPRtLfPfyPfAqggJWubxdq9hZQSMxd+uoMXlHw9dRWb1DsMd8RI/EvP/CDUCt+MjOeV7yhJuoE3zQBFyCK4z73YVDrFg34nh/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ebm2VqAp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Ebm2VqAp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB0251F000FF; Wed, 30 Sep 2026 19:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790795131; bh=LTz50efGi++/X8iH52ae6UnITf7m1DiH50vkMEVAaGs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ebm2VqApQrvLFkS/FXtWnZKpbJn/w3XCQbiqrI7WG7l7soPNnjOfc+ojlh3HJblX/ 6yePX7v3/JTnbl+XRzPhMcCWE86fhZnmILLmYdvXFm5c+Zr0QwEOzROfO6I/SrgWSG YFZ3ZJl9BvPF+TNGbG1F3piPp+5IYkRJ9US/UjsI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Zijun Hu , Linus Walleij , Lee Jones , Sasha Levin Subject: [PATCH 6.6 0453/1193] mfd: db8500-prcmu: Remove needless return in three void APIs Date: Wed, 30 Sep 2026 17:18:57 +0200 Message-ID: <20260930152444.239634621@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260930152434.301151190@linuxfoundation.org> References: <20260930152434.301151190@linuxfoundation.org> User-Agent: quilt/0.69 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-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Zijun Hu [ Upstream commit c105c555f8b4fd57b09439806b43b97ebc240ee2 ] Remove needless 'return' in the following void APIs: prcmu_early_init() prcmu_system_reset() prcmu_modem_reset() Since both the API and callee involved are void functions. Signed-off-by: Zijun Hu Reviewed-by: Linus Walleij Link: https://lore.kernel.org/r/20250221-rmv_return-v1-15-cc8dff275827@quicinc.com Signed-off-by: Lee Jones Stable-dep-of: 66ec63e7a90b ("ASoC: ux500: Deassert the MSP reset during probe") Signed-off-by: Sasha Levin --- include/linux/mfd/dbx500-prcmu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index dd0fc891b2289..98567623c9df6 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -215,7 +215,7 @@ struct prcmu_fw_version { static inline void prcmu_early_init(void) { - return db8500_prcmu_early_init(); + db8500_prcmu_early_init(); } static inline int prcmu_set_power_state(u8 state, bool keep_ulp_clk, @@ -302,7 +302,7 @@ static inline int prcmu_request_ape_opp_100_voltage(bool enable) static inline void prcmu_system_reset(u16 reset_code) { - return db8500_prcmu_system_reset(reset_code); + db8500_prcmu_system_reset(reset_code); } static inline u16 prcmu_get_reset_code(void) @@ -314,7 +314,7 @@ int prcmu_ac_wake_req(void); void prcmu_ac_sleep_req(void); static inline void prcmu_modem_reset(void) { - return db8500_prcmu_modem_reset(); + db8500_prcmu_modem_reset(); } static inline bool prcmu_is_ac_wake_requested(void) -- 2.53.0