}
}
-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) {
.init = samsung_power_init,
.setInteractive = samsung_power_set_interactive,
.powerHint = samsung_power_hint,
- .getFeature = samsung_get_feature,
.setFeature = samsung_set_feature
},