sm8250-common: power: Rebase on LA.UM.8.12.r1-11900-sm8250.0
This commit is contained in:
@@ -27,20 +27,21 @@
|
||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <utils/Log.h>
|
||||
|
||||
#include "hint-data.h"
|
||||
|
||||
int hint_compare(struct hint_data* first_hint, struct hint_data* other_hint) {
|
||||
int hint_compare(struct hint_data *first_hint,
|
||||
struct hint_data *other_hint) {
|
||||
if (first_hint == other_hint) {
|
||||
return 0;
|
||||
} else if ((first_hint && other_hint) && (first_hint->hint_id == other_hint->hint_id)) {
|
||||
} else if ((first_hint && other_hint) &&
|
||||
(first_hint->hint_id == other_hint->hint_id)) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
void hint_dump(struct hint_data* hint) {
|
||||
ALOGI("hint_id: %lu", hint->hint_id);
|
||||
void hint_dump(struct hint_data *hint)
|
||||
{
|
||||
/*ALOGI("hint_id: %lu", hint->hint_id);*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user