[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250221-rmv_return-v1-15-cc8dff275827@quicinc.com>
Date: Fri, 21 Feb 2025 05:02:20 -0800
From: Zijun Hu <quic_zijuhu@...cinc.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Will Deacon
<will@...nel.org>,
Aneesh Kumar K.V <aneesh.kumar@...nel.org>,
Andrew Morton
<akpm@...ux-foundation.org>,
Nick Piggin <npiggin@...il.com>,
Peter Zijlstra
<peterz@...radead.org>, Arnd Bergmann <arnd@...db.de>,
Thomas Gleixner
<tglx@...utronix.de>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S.
Miller" <davem@...emloft.net>,
Greg Kroah-Hartman
<gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
"Danilo Krummrich" <dakr@...nel.org>,
Eric Dumazet <edumazet@...gle.com>, "Jakub Kicinski" <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon
Horman <horms@...nel.org>,
Johannes Berg <johannes@...solutions.net>,
"Jamal
Hadi Salim" <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>, Jiri
Pirko <jiri@...nulli.us>,
Jason Gunthorpe <jgg@...pe.ca>, Leon Romanovsky
<leon@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
"Bartosz
Golaszewski" <brgl@...ev.pl>, Lee Jones <lee@...nel.org>,
Thomas Graf
<tgraf@...g.ch>, Christoph Hellwig <hch@....de>,
Marek Szyprowski
<m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
"Miquel
Raynal" <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
CC: Zijun Hu <zijun_hu@...oud.com>, <linux-arch@...r.kernel.org>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-wireless@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
<linux-gpio@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<iommu@...ts.linux.dev>, <linux-mtd@...ts.infradead.org>,
Zijun Hu
<quic_zijuhu@...cinc.com>
Subject: [PATCH *-next 15/18] mfd: db8500-prcmu: Remove needless return in
three void APIs
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 <quic_zijuhu@...cinc.com>
---
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 dd0fc891b228..98567623c9df 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.34.1
Powered by blists - more mailing lists