ds1wm: report bus reset error
commitdaa49ff50a0cd1ddf88019e9afc41e26640ab1c4
authorAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 4 Mar 2008 22:28:44 +0000 (4 14:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:12 +0000 (4 16:35 -0800)
tree09a0589dc9085ebdc6bfc2f16490a9391a5b470c
parentfbc357df2e7728feb010148bed4eccb03a181610
ds1wm: report bus reset error

The patch replaces dev_dbg() by dev_err(), so the user could actually see the
error, instead of wondering why w1 doesn't work.  The root cause of the bus
reset error isn't yet debugged though, but this sometimes happens on iPaq
H5555.

And while I'm at it, some cosmetic cleanups also made (few lines were using
spaces instead of tabs).

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/masters/ds1wm.c