lkml.org 
[lkml]   [2010]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 19/39] drivers/regulator: Update WARN uses
Date
Align arguments.

Signed-off-by: Joe Perches <joe@perches.com>
---
drivers/regulator/core.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index f1d10c9..813dd30 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1361,8 +1361,7 @@ static int _regulator_disable(struct regulator_dev *rdev,
int ret = 0;

if (WARN(rdev->use_count <= 0,
- "unbalanced disables for %s\n",
- rdev_get_name(rdev)))
+ "unbalanced disables for %s\n", rdev_get_name(rdev)))
return -EIO;

/* are we the last user and permitted to disable ? */
--
1.7.3.1.g432b3.dirty


\
 
 \ /
  Last update: 2010-10-30 23:17    [W:0.235 / U:1.380 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site