diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2018-03-27 15:41:54 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-28 18:39:30 +0200 |
commit | 32d0ca371882a85f439ada0e7f2846ed4b462ab8 (patch) | |
tree | 623ee694104d11ff192087ffa3421a019eeac42a /include/linux | |
parent | 2d9eb8a926dadffb42b2bb0e369c71ba87405ced (diff) |
Revert "video: backlight: EDP client for backlight"
This reverts commit 74df06fb565b7250bc86d79727b66bb02259d54c.
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pwm_backlight.h | 30 |
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 |