Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a1c64abe authored by Jie Cheng's avatar Jie Cheng
Browse files

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: default avatarJie Cheng <rockiec@codeaurora.org>
parent b71a5b93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment