mfd: Show correct device id for wm8400
Subsystems (2)
PATCH 1/1 mfd: Show correct device id for wm8400
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/wm8400-core.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/mfd/wm8400-core.c +1 -2
@@ -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 ; }
Signature · 1 line
1.7.5.4
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Acked-by Mark Brown <[email protected]>
Samuel Ortiz
AppliedHi Axel,
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Thanks, applied.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/