ab8500_btemp: Detect battery type in workqueue

Detect battery type in work queue instead of probe.

This reduces the system boot time with 1.5s.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
This commit is contained in:
Jonas Aaberg 2012-02-27 11:02:44 +01:00 • committed by Lee Jones
commit f6271b4fb1