We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded9658 commit d799727Copy full SHA for d799727
drivers/of/dynamic.c
@@ -98,8 +98,9 @@ int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p)
98
*
99
* Returns the new state of a device based on the notifier used.
100
101
- * Return: 0 on device going from enabled to disabled, 1 on device
102
- * going from disabled to enabled and -1 on no change.
+ * Return: OF_RECONFIG_CHANGE_REMOVE on device going from enabled to
+ * disabled, OF_RECONFIG_CHANGE_ADD on device going from disabled to
103
+ * enabled and OF_RECONFIG_NO_CHANGE on no change.
104
*/
105
int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr)
106
{
0 commit comments