summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-03-27 15:41:54 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-03-28 18:39:30 +0200
commit32d0ca371882a85f439ada0e7f2846ed4b462ab8 (patch)
tree623ee694104d11ff192087ffa3421a019eeac42a /include
parent2d9eb8a926dadffb42b2bb0e369c71ba87405ced (diff)
Revert "video: backlight: EDP client for backlight"
This reverts commit 74df06fb565b7250bc86d79727b66bb02259d54c.
Diffstat (limited to 'include')
-rw-r--r--include/linux/pwm_backlight.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h
index c4d55510c7bd..0bb37c47aa0e 100644
--- a/include/linux/pwm_backlight.h
+++ b/include/linux/pwm_backlight.h
@@ -1,39 +1,11 @@
/*
* Generic PWM backlight driver data - see drivers/video/backlight/pwm_bl.c
- *
- * Copyright (c) 2013, NVIDIA CORPORATION, All rights reserved.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
*/
#ifndef __LINUX_PWM_BACKLIGHT_H
#define __LINUX_PWM_BACKLIGHT_H
#include <linux/backlight.h>
-enum pwm_bl_edp_states {
- PWM_BL_EDP_NEG_3,
- PWM_BL_EDP_NEG_2,
- PWM_BL_EDP_NEG_1,
- PWM_BL_EDP_ZERO,
- PWM_BL_EDP_1,
- PWM_BL_EDP_2,
- PWM_BL_EDP_3,
- PWM_BL_EDP_4,
- PWM_BL_EDP_5,
- PWM_BL_EDP_6,
- PWM_BL_EDP_NUM_STATES,
-};
-
-#define PWM_BL_EDP_BRIGHTNESS_UNIT 25
-
struct platform_pwm_backlight_data {
int pwm_id;
unsigned int max_brightness;
@@ -47,8 +19,6 @@ struct platform_pwm_backlight_data {
void (*notify_after)(struct device *dev, int brightness);
void (*exit)(struct device *dev);
int (*check_fb)(struct device *dev, struct fb_info *info);
- unsigned int *edp_states;
- unsigned int *edp_brightness;
};
#endif