From: Thadeu Lima de Souza Cascardo Date: Thu, 7 Feb 2008 08:13:20 +0000 (-0800) Subject: power_supply: remove capacity_level from list of sysfs attributes X-Git-Tag: v2.6.25-rc1~509 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cbc76eadf56399cd11fb736b33c53aec9caab8c;p=pandora-kernel.git power_supply: remove capacity_level from list of sysfs attributes This commit: commit 8efe444038a205e79b38b7ad03878824901849a8 Author: Andres Salomon Date: Wed Dec 12 14:12:56 2007 -0500 power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL Removed CAPACITY_LEVEL from every other code, leaving the array with sysfs attributes with one more entry than the number of enums in power_supply.h. This leads to some attributes containing the value of the attribute right after it. For example, temp_ambient would have the value of time_to_empty_now. In my case, I had time_to_full_avg have the value which should be in model_name, when the former was usually empty. Cc: Andres Salomon Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed