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 <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2bcaa1e955
commit
6f6347ef49
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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__);
|
||||
|
|
Loading…
Reference in New Issue