#include <hal/device/hal-device-power.h>
#include <libsyscommon/log.h>
-#include "device-interface.h"
+#include "display-plugin.h"
/**
* @addtogroup POWER_MANAGER
dp->config = &display_conf;
init_display_states(dp);
- setup_display_plugin_backlight_ops(dp);
dp->set_dim_state = NULL;
dp->get_device_flags = NULL;
dp->lcd_on_procedure = NULL;
+++ /dev/null
-/*
- * deviced
- *
- * Copyright (c) 2012 - 2015 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdbool.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <string.h>
-#include <unistd.h>
-#include <limits.h>
-#include <math.h>
-#include <assert.h>
-#include <errno.h>
-#include <dlfcn.h>
-#include <hal/device/hal-display.h>
-
-#include <libsyscommon/log.h>
-#include "device-interface.h"
-
-static struct display_backlight_ops backlight_ops;
-static const struct syscommon_deviced_display_config *display_conf;
-
-inline struct display_backlight_ops *get_var_backlight_ops(void)
-{
- return &backlight_ops;
-}
-
-static struct display_backlight_ops backlight_ops = {
- .set_brightness = NULL,
- .get_brightness = NULL,
- .transit_state = NULL,
- .transit_brt = NULL,
-};
-
-void setup_display_plugin_backlight_ops(struct display_plugin *dp)
-{
- assert(dp);
-
- dp->backlight = &backlight_ops;
-}
-
-static void __CONSTRUCTOR__ initialize(void)
-{
- display_conf = get_var_display_config();
- if (!display_conf)
- _E("Failed to get display configuration variable.");
-}
-