sbs-battery: export manufacturer and model name to sysfs
authorCheng-Yi Chiang <cychiang@chromium.org>
Mon, 4 Aug 2014 11:47:45 +0000 (13:47 +0200)
committerSebastian Reichel <sre@kernel.org>
Sat, 6 Sep 2014 18:57:43 +0000 (20:57 +0200)
commit9ea89402e25edafb6ad8ec92848d12c1d5d3969f
treedb5028e0f60c3a413498a68e7e555c995346a416
parent86ba8b0aee711b01fa5a14868035a3f4d6b1e1d9
sbs-battery: export manufacturer and model name to sysfs

This CL supports two power_supply_property items for smart battery:
POWER_SUPPLY_PROP_MANUFACTURER and POWER_SUPPLY_PROP_MODEL_NAME such
that battery information 'manufacturer' and 'model_name' can be exported
to sysfs.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/sbs-battery.c
This page took 0.024202 seconds and 5 git commands to generate.