via: Rationalize vt1636 detection
authorJonathan Corbet <corbet@lwn.net>
Mon, 28 Dec 2009 17:22:53 +0000 (10:22 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:38 +0000 (17:17 -0600)
The code was ugly and didn't check whether i2c operations were succeeding;
make it a little better.

Cc: ScottFang@viatech.com.cn
Cc: JosephChan@via.com.tw
Cc: Harald Welte <laforge@gnumonks.org>
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

No differences found