ab8500_bmdata: Export abx500_res_to_temp tables for hwmon
authorHongbo Zhang <hongbo.zhang@linaro.org>
Wed, 3 Apr 2013 12:18:11 +0000 (20:18 +0800)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 17 Apr 2013 00:38:10 +0000 (17:38 -0700)
commitea2be6f21071b4af3b765a0f228be2bef08515e9
tree1293fb20bdaa9a6925a5da0b92573be8b3d93910
parent2c89940786ef8c6e4dbcd2960142ce513e289f1e
ab8500_bmdata: Export abx500_res_to_temp tables for hwmon

This patch exports the thermistor resistance-to-temperature tables, so
that the hwmon driver can access them, and also adds the corresponding
table size variables.

Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/ab8500_bmdata.c
include/linux/power/ab8500.h [new file with mode: 0644]