linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: ti: smartreflex: void function return statements are not generally useful
       [not found] <20230707133447.28102-1-panzhiai@cdjrlc.com>
@ 2023-07-07 13:38 ` hexingwei001
  0 siblings, 0 replies; only message in thread
From: hexingwei001 @ 2023-07-07 13:38 UTC (permalink / raw)
  To: nm, ssantosh; +Cc: linux-kernel, linux-arm-kernel, linux-pm

void function omap_sr_shutdown return statements are not generally 
useful,
so deleted the return in function omap_sr_shutdown().

Signed-off-by: Xingwei He <hexingwei001@208suo.com>
---
  drivers/soc/ti/smartreflex.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti/smartreflex.c
index 62b2f1464e46..20abfb0b8f26 100644
--- a/drivers/soc/ti/smartreflex.c
+++ b/drivers/soc/ti/smartreflex.c
@@ -955,7 +955,7 @@ static void omap_sr_shutdown(struct platform_device 
*pdev)
      if (sr_info->autocomp_active)
          sr_stop_vddautocomp(sr_info);

-    return;
+
  }

  static const struct of_device_id omap_sr_match[] = {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-07 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230707133447.28102-1-panzhiai@cdjrlc.com>
2023-07-07 13:38 ` [PATCH] soc: ti: smartreflex: void function return statements are not generally useful hexingwei001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).