From: Kirill A. Shutemov Date: Thu, 8 Mar 2012 16:11:02 +0000 (+0000) Subject: gma500: cdv_intel_lvds: #if 0 currently unused functions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=062d054eb359bf143fdd61c8c8837b4d6fd8a10c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- 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) return retval; } +#if 0 /* * Set LVDS backlight level by I2C command */ @@ -165,6 +166,7 @@ void cdv_intel_lvds_set_brightness(struct drm_device *dev, int level) else cdv_lvds_pwm_set_brightness(dev, level); } +#endif /** * Sets the backlight level.