diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2012-03-08 11:11:02 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-10 08:06:25 -0500 |
commit | 062d054eb359bf143fdd61c8c8837b4d6fd8a10c (patch) | |
tree | ec897e4e715fda3298d025fa3ee6f04b9b38736b /drivers/gpu/drm/gma500 | |
parent | bc11da70aca65283e62e8a4bdccc11c3324ccf97 (diff) |
gma500: cdv_intel_lvds: #if 0 currently unused functions
cdv_intel_lvds_set_brightness() is only used in commented out code in
cdv_set_brightness().
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c b/drivers/gpu/drm/gma500/cdv_intel_lvds.c index 1f3d5640fa21..8359c1a3f45f 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c +++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c | |||
@@ -85,6 +85,7 @@ static u32 cdv_intel_lvds_get_max_backlight(struct drm_device *dev) | |||
85 | return retval; | 85 | return retval; |
86 | } | 86 | } |
87 | 87 | ||
88 | #if 0 | ||
88 | /* | 89 | /* |
89 | * Set LVDS backlight level by I2C command | 90 | * Set LVDS backlight level by I2C command |
90 | */ | 91 | */ |
@@ -165,6 +166,7 @@ void cdv_intel_lvds_set_brightness(struct drm_device *dev, int level) | |||
165 | else | 166 | else |
166 | cdv_lvds_pwm_set_brightness(dev, level); | 167 | cdv_lvds_pwm_set_brightness(dev, level); |
167 | } | 168 | } |
169 | #endif | ||
168 | 170 | ||
169 | /** | 171 | /** |
170 | * Sets the backlight level. | 172 | * Sets the backlight level. |