mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ACPI: battery: add sysfs serial number
egrep serial /proc/acpi/battery/BAT0/info serial number: 32090 serial number can tell you from the imminent danger of beeing set on fire. Signed-off-by: maximilian attems <[email protected]> Acked-by: Alexey Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
21511abd0a
commit
7c2670bbb5
3 changed files with 7 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ static struct device_attribute power_supply_attrs[] = {
|
|||
/* Properties of type `const char *' */
|
||||
POWER_SUPPLY_ATTR(model_name),
|
||||
POWER_SUPPLY_ATTR(manufacturer),
|
||||
POWER_SUPPLY_ATTR(serial_number),
|
||||
};
|
||||
|
||||
static ssize_t power_supply_show_static_attrs(struct device *dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue