|
|
|
@ -519,16 +519,6 @@ static void samsung_power_hint(struct power_module *module, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static int samsung_get_feature(struct power_module *module __unused, |
|
|
|
|
feature_t feature) |
|
|
|
|
{ |
|
|
|
|
if (feature == POWER_FEATURE_SUPPORTED_PROFILES) { |
|
|
|
|
return PROFILE_MAX; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return -1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void samsung_set_feature(struct power_module *module __unused, feature_t feature, int state __unused) |
|
|
|
|
{ |
|
|
|
|
switch (feature) { |
|
|
|
@ -562,7 +552,6 @@ struct samsung_power_module HAL_MODULE_INFO_SYM = { |
|
|
|
|
.init = samsung_power_init, |
|
|
|
|
.setInteractive = samsung_power_set_interactive, |
|
|
|
|
.powerHint = samsung_power_hint, |
|
|
|
|
.getFeature = samsung_get_feature, |
|
|
|
|
.setFeature = samsung_set_feature |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|