]> git.baikalelectronics.ru Git - kernel.git/commit
power_supply: Add new power supply AUTHENTIC property
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Thu, 23 Aug 2012 01:20:21 +0000 (06:50 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 02:56:37 +0000 (19:56 -0700)
commit12fb81675860378b7bbe7fb2a30b20c24d9b01ed
tree2e6fde9da5401cad5e367a3ac95587eb25a01908
parent9213e97cee1fab7b1291257ef93e542b1fc44eb2
power_supply: Add new power supply AUTHENTIC property

It is possible that users can use non-standard chargers or use invalid
batteries especially with mobile devices.

This patch adds a new power supply property called 'AUTHENTIC' to
indicate this to the user(user space).

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Documentation/power/power_supply_class.txt
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h