mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Chanwoo Choi](/assets/img/avatar_default.png)
This patch just removes '.' character from the sysfs name of devfreq-event device as following. Usually, the subsystem uses the similiar naming style such as {framework name}{Number}. - old : /sys/class/devfreq-event/event.(X) - new : /sys/class/devfreq-event/event(X) And this patch initializes the value of 'event_no' with -1 in order to remove the unneeded operation (-1) when calling the atomic_inc_return(&event_no). Lastly, this patch adds the ABI document for devfreq-event class. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
25 lines
975 B
Text
25 lines
975 B
Text
What: /sys/class/devfreq-event/event(x)/
|
|
Date: January 2017
|
|
Contact: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Description:
|
|
Provide a place in sysfs for the devfreq-event objects.
|
|
This allows accessing various devfreq-event specific variables.
|
|
The name of devfreq-event object denoted as 'event(x)' which
|
|
includes the unique number of 'x' for each devfreq-event object.
|
|
|
|
What: /sys/class/devfreq-event/event(x)/name
|
|
Date: January 2017
|
|
Contact: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Description:
|
|
The /sys/class/devfreq-event/event(x)/name attribute contains
|
|
the name of the devfreq-event object. This attribute is
|
|
read-only.
|
|
|
|
What: /sys/class/devfreq-event/event(x)/enable_count
|
|
Date: January 2017
|
|
Contact: Chanwoo Choi <cw00.choi@samsung.com>
|
|
Description:
|
|
The /sys/class/devfreq-event/event(x)/enable_count attribute
|
|
contains the reference count to enable the devfreq-event
|
|
object. If the device is enabled, the value of attribute is
|
|
greater than zero.
|