Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296837
b: refs/heads/master
c: 60b5c5a
h: refs/heads/master
i:
  296835: a1cc5bb
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Mar 6, 2012
1 parent e5f3709 commit 7d4d15e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 113351b52b296afa91d829e880037ef91f0e96f5
refs/heads/master: 60b5c5a435007af5fe9f05483ff2a26aacb5fe78
8 changes: 1 addition & 7 deletions trunk/drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ EXPORT_SYMBOL_GPL(pcf50633_read_block);
int pcf50633_write_block(struct pcf50633 *pcf , u8 reg,
int nr_regs, u8 *data)
{
int ret;

ret = regmap_raw_write(pcf->regmap, reg, data, nr_regs);
if (ret != 0)
return ret;

return nr_regs;
return regmap_raw_write(pcf->regmap, reg, data, nr_regs);
}
EXPORT_SYMBOL_GPL(pcf50633_write_block);

Expand Down

0 comments on commit 7d4d15e

Please sign in to comment.