From: Shraddha Barke Date: Wed, 30 Sep 2015 12:58:54 +0000 (+0530) Subject: Staging: fbtft: Remove debug messages related to DEBUG_BACKLIGHT X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6f6347ef496dbeeacb9937aedb50ed9aa1a20cd1;p=openwrt%2Fstaging%2Fblogic.git Staging: fbtft: Remove debug messages related to DEBUG_BACKLIGHT Remove debug messages related to fbtft_par_dbg(DEBUG_BACKLIGHT.. ) as this info can be obtained using kernel function tracer Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c index 83867e1593f0..eb45b270aaa8 100644 --- a/drivers/staging/fbtft/fb_ssd1351.c +++ b/drivers/staging/fbtft/fb_ssd1351.c @@ -206,8 +206,6 @@ static void register_onboard_backlight(struct fbtft_par *par) struct backlight_device *bd; struct backlight_properties bl_props = { 0, }; - fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__); - bl_props.type = BACKLIGHT_RAW; bl_props.power = FB_BLANK_POWERDOWN; diff --git a/drivers/staging/fbtft/fb_watterott.c b/drivers/staging/fbtft/fb_watterott.c index 3142a1251f6b..be99a9d76316 100644 --- a/drivers/staging/fbtft/fb_watterott.c +++ b/drivers/staging/fbtft/fb_watterott.c @@ -253,8 +253,6 @@ static void register_chip_backlight(struct fbtft_par *par) struct backlight_device *bd; struct backlight_properties bl_props = { 0, }; - fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__); - bl_props.type = BACKLIGHT_RAW; bl_props.power = FB_BLANK_POWERDOWN; bl_props.max_brightness = 100; diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 4691bccaf7c4..bfbf15c31d0f 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -266,8 +266,6 @@ static int fbtft_backlight_get_brightness(struct backlight_device *bd) void fbtft_unregister_backlight(struct fbtft_par *par) { - fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__); - if (par->info->bl_dev) { par->info->bl_dev->props.power = FB_BLANK_POWERDOWN; backlight_update_status(par->info->bl_dev); @@ -286,8 +284,6 @@ void fbtft_register_backlight(struct fbtft_par *par) struct backlight_device *bd; struct backlight_properties bl_props = { 0, }; - fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__); - if (par->gpio.led[0] == -1) { fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s(): led pin not set, exiting.\n", __func__);