commit | 82fd75651ff93ca9cdbaaba9208a4d3d5a22d50d | [log] [tgz] |
---|---|---|
author | Jie Cheng <rockiec@codeaurora.org> | Wed Dec 18 16:45:28 2013 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Dec 23 17:51:05 2013 -0800 |
tree | de647b843e0848b3c043b065fe3308a70aaca57f | |
parent | 8368ff102b41f3a156693c5b83760c96d21a79c3 [diff] |
sensors: add enable and poll_delay APIs for sensor class driver The sensor class driver will create the "enable" and "poll_delay" handles in the "/sys/class/sensors/xxx/" for each sensor driver. The userspace code could easily find the control interface by searching the "/sys/class/sensors/" folder. Change-Id: Ia18f062262e4b78db7d7de87acb49dfcf485063b Signed-off-by: Jie Cheng <rockiec@codeaurora.org>