power: Clean up and fix set_interactive_override
* Remove debug logs and useless comments * Consistent return values * Check if set_interactive_override handled hints and print info message if it didn't Change-Id: Iff9f7327ba71c282e34ff3143c45a3f40f72fc92
This commit is contained in:
@@ -198,7 +198,3 @@ int power_hint_override(power_hint_t hint, void* data) {
|
||||
}
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
int set_interactive_override(int on) {
|
||||
return HINT_HANDLED; /* Don't excecute this code path, not in use */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user