lkml.org 
[lkml]   [2018]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drivers: regulator: fan53555: fixed a coding style issue
Date
Fixed a couple of badly formatted comments.

Signed-off-by: Erik Mansson <erik@mansson.xyz>
---
drivers/regulator/fan53555.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index a3bc8037153e..78f98e679fbf 100644
--- a/drivers/regulator/fan53555.c
+++ b/drivers/regulator/fan53555.c
@@ -114,8 +114,10 @@ static int fan53555_set_suspend_voltage(struct regulator_dev *rdev, int uV)
VSEL_NSEL_MASK, ret);
if (ret < 0)
return ret;
- /* Cache the sleep voltage setting.
- * Might not be the real voltage which is rounded */
+ /*
+ * Cache the sleep voltage setting.
+ * Might not be the real voltage which is rounded
+ */
di->sleep_vol_cache = uV;

return 0;
@@ -277,11 +279,12 @@ static int fan53555_voltages_setup_silergy(struct fan53555_device_info *di)
return 0;
}

-/* For 00,01,03,05 options:
+/*
+ * For 00,01,03,05 options:
* VOUT = 0.60V + NSELx * 10mV, from 0.60 to 1.23V.
* For 04 option:
* VOUT = 0.603V + NSELx * 12.826mV, from 0.603 to 1.411V.
- * */
+ */
static int fan53555_device_setup(struct fan53555_device_info *di,
struct fan53555_platform_data *pdata)
{
--
2.14.1
\
 
 \ /
  Last update: 2018-01-31 01:16    [W:0.049 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site