lkml.org 
[lkml]   [2023]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] soc: ti: smartreflex: void function return statements are not generally useful
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[] = {
\
 
 \ /
  Last update: 2023-07-07 16:26    [W:0.035 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site