diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-12-06 02:39:39 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-01-11 09:23:21 +0300 |
commit | a5656a708050bd3be5c3a3bc45297db21e88cecd (patch) | |
tree | 360c9a85f2d85f8a60faf9c937f141689ce5e249 /drivers/mfd/ti_am335x_tscadc.c | |
parent | db2fb60cd35d2d03699e570906ced73b4c05586e (diff) | |
download | linux-a5656a708050bd3be5c3a3bc45297db21e88cecd.tar.xz |
mfd: wm831x: Fix broken wm831x_unique_id_show
wm831x_unique_id_show currently displays an interesting pattern of '0'
and '3' characters which isn't very useful (figuring out why is left
as an exercise for the reader). Presumably "buf[i]" should have been
"id[i] & 0xff".
But while there, it is much simpler to simply use %phN and do all the
formatting at once.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ti_am335x_tscadc.c')
0 files changed, 0 insertions, 0 deletions