projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0447a6
)
mfd: Show correct device id for wm8400
author
Axel Lin
<axel.lin@gmail.com>
Thu, 16 Feb 2012 05:58:19 +0000
(13:58 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:46 +0000
(18:46 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8400-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/wm8400-core.c
b/drivers/mfd/wm8400-core.c
index 2204893444a6ca6a4f2a245023169e1ff9e69379..e60d524e1d836751e1d2c8c53bd0956e6259d468 100644
(file)
--- a/
drivers/mfd/wm8400-core.c
+++ b/
drivers/mfd/wm8400-core.c
@@
-271,8
+271,7
@@
static int wm8400_init(struct wm8400 *wm8400,
return -EIO;
}
if (i != reg_data[WM8400_RESET_ID].default_val) {
- dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n",
- reg);
+ dev_err(wm8400->dev, "Device is not a WM8400, ID is %x\n", i);
return -ENODEV;
}