]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: fbtft: Remove debug messages related to DEBUG_BACKLIGHT
authorShraddha Barke <shraddha.6596@gmail.com>
Wed, 30 Sep 2015 12:58:54 +0000 (18:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:31:29 +0000 (11:31 +0200)
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 <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_ssd1351.c
drivers/staging/fbtft/fb_watterott.c
drivers/staging/fbtft/fbtft-core.c

index 83867e1593f02e16eb31e993f12fcaceaafd36d9..eb45b270aaa88de9c3e5731914403916ee34ad97 100644 (file)
@@ -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;
 
index 3142a1251f6bbf283b77e1f5e57c61d66349d98e..be99a9d763160618f9702837b6aab733f4e32060 100644 (file)
@@ -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;
index 4691bccaf7c46306d468ef22943ac681a730b7e2..bfbf15c31d0fe90b9ddc91b8d0c71eb1518c38c4 100644 (file)
@@ -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__);