Commit 6f6347ef authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

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: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2bcaa1e9
...@@ -206,8 +206,6 @@ static void register_onboard_backlight(struct fbtft_par *par) ...@@ -206,8 +206,6 @@ static void register_onboard_backlight(struct fbtft_par *par)
struct backlight_device *bd; struct backlight_device *bd;
struct backlight_properties bl_props = { 0, }; struct backlight_properties bl_props = { 0, };
fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
bl_props.type = BACKLIGHT_RAW; bl_props.type = BACKLIGHT_RAW;
bl_props.power = FB_BLANK_POWERDOWN; bl_props.power = FB_BLANK_POWERDOWN;
......
...@@ -253,8 +253,6 @@ static void register_chip_backlight(struct fbtft_par *par) ...@@ -253,8 +253,6 @@ static void register_chip_backlight(struct fbtft_par *par)
struct backlight_device *bd; struct backlight_device *bd;
struct backlight_properties bl_props = { 0, }; struct backlight_properties bl_props = { 0, };
fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
bl_props.type = BACKLIGHT_RAW; bl_props.type = BACKLIGHT_RAW;
bl_props.power = FB_BLANK_POWERDOWN; bl_props.power = FB_BLANK_POWERDOWN;
bl_props.max_brightness = 100; bl_props.max_brightness = 100;
......
...@@ -266,8 +266,6 @@ static int fbtft_backlight_get_brightness(struct backlight_device *bd) ...@@ -266,8 +266,6 @@ static int fbtft_backlight_get_brightness(struct backlight_device *bd)
void fbtft_unregister_backlight(struct fbtft_par *par) void fbtft_unregister_backlight(struct fbtft_par *par)
{ {
fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
if (par->info->bl_dev) { if (par->info->bl_dev) {
par->info->bl_dev->props.power = FB_BLANK_POWERDOWN; par->info->bl_dev->props.power = FB_BLANK_POWERDOWN;
backlight_update_status(par->info->bl_dev); backlight_update_status(par->info->bl_dev);
...@@ -286,8 +284,6 @@ void fbtft_register_backlight(struct fbtft_par *par) ...@@ -286,8 +284,6 @@ void fbtft_register_backlight(struct fbtft_par *par)
struct backlight_device *bd; struct backlight_device *bd;
struct backlight_properties bl_props = { 0, }; struct backlight_properties bl_props = { 0, };
fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
if (par->gpio.led[0] == -1) { if (par->gpio.led[0] == -1) {
fbtft_par_dbg(DEBUG_BACKLIGHT, par, fbtft_par_dbg(DEBUG_BACKLIGHT, par,
"%s(): led pin not set, exiting.\n", __func__); "%s(): led pin not set, exiting.\n", __func__);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment