bq27000: report missing device better.

One an hdq buss, a missing device reads as 0xff, not -1.
So do a translation to allow detecting of a missing bus.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
Marek Belisko 2014-06-30 21:49:56 +02:00 • committed by Sebastian Reichel
commit 3dd843e1c2