power_supply: Add new power supply AUTHENTIC property
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Thu, 23 Aug 2012 01:20:21 +0000 (06:20 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 23 Aug 2012 02:56:37 +0000 (19:56 -0700)
commitb1b56872be3b36af19313bf0953b1361c36b4a98
tree2e6fde9da5401cad5e367a3ac95587eb25a01908
parentdeacc4fe57794f80ad4449c7cea611921c2d0420
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