diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2008-08-15 00:40:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-15 08:35:44 -0700 |
commit | bb15e7f286e3ecf3e85e06ad9b0019096e43a613 (patch) | |
tree | 88fd7cb042f3477699cb05c780518dc7dc1ed5a5 /drivers/mfd | |
parent | 9c5413eac5199b8457689eb2c9d9e75138356bd6 (diff) |
ibmaem: don't query the entire sensor repository when reading energy meter
Currently, all sensors are read when the energy meter is queried via
sysfs. This introduces a considerable amount of delay and variation in
the sysfs reading, which is not desirable when trying to profile energy
use. Therefore, read only the energy meters when a sysfs query comes in
for them, and don't cache the results so that we always get the latest
reading.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions