提交 96dc5896 编写于 作者: M Mark Brown

Merge branch 'fix/core' of...

Merge branch 'fix/core' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-core
...@@ -779,7 +779,7 @@ static int suspend_prepare(struct regulator_dev *rdev, suspend_state_t state) ...@@ -779,7 +779,7 @@ static int suspend_prepare(struct regulator_dev *rdev, suspend_state_t state)
static void print_constraints(struct regulator_dev *rdev) static void print_constraints(struct regulator_dev *rdev)
{ {
struct regulation_constraints *constraints = rdev->constraints; struct regulation_constraints *constraints = rdev->constraints;
char buf[80] = ""; char buf[160] = "";
int count = 0; int count = 0;
int ret; int ret;
...@@ -801,7 +801,7 @@ static void print_constraints(struct regulator_dev *rdev) ...@@ -801,7 +801,7 @@ static void print_constraints(struct regulator_dev *rdev)
} }
if (constraints->uV_offset) if (constraints->uV_offset)
count += sprintf(buf, "%dmV offset ", count += sprintf(buf + count, "%dmV offset ",
constraints->uV_offset / 1000); constraints->uV_offset / 1000);
if (constraints->min_uA && constraints->max_uA) { if (constraints->min_uA && constraints->max_uA) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册