diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-16 09:58:19 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 21:46:46 +0400 |
commit | 1fa93bb2925781060971e984d11200c542a18fdb (patch) | |
tree | 8c6e5645f2384f3ddddd8e80b06054c101f30d27 /drivers/mfd/wm8400-core.c | |
parent | f0447a690e2cfe005a605253cf6bdfa9b9fd5d6e (diff) | |
download | linux-1fa93bb2925781060971e984d11200c542a18fdb.tar.xz |
mfd: Show correct device id for wm8400
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>
Diffstat (limited to 'drivers/mfd/wm8400-core.c')
-rw-r--r-- | drivers/mfd/wm8400-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c index 2204893444a6..e60d524e1d83 100644 --- 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; } |