drivers: misc: grove_lcd_rgb: use custom log level

The driver was re-using the display log level, however, it is no longer
part of the display driver category.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-01-31 14:51:28 +01:00 committed by Marti Bolivar
commit 9df8151623
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,10 @@
# Copyright (c) 2015 Intel Corporation # Copyright (c) 2015 Intel Corporation
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
module = GROVE_LCD_RGB
module-str = grove_lcd_rgb
source "subsys/logging/Kconfig.template.log_config"
config GROVE_LCD_RGB config GROVE_LCD_RGB
bool "Enable the Seeed Grove LCD RGB Backlight" bool "Enable the Seeed Grove LCD RGB Backlight"
help help

View file

@ -14,7 +14,7 @@
#include <sys/util.h> #include <sys/util.h>
#include <logging/log.h> #include <logging/log.h>
LOG_MODULE_REGISTER(grove_lcd, CONFIG_DISPLAY_LOG_LEVEL); LOG_MODULE_REGISTER(grove_lcd, CONFIG_GROVE_LCD_RGB_LOG_LEVEL);
#define GROVE_RGB_BACKLIGHT_ADDR (0x62) #define GROVE_RGB_BACKLIGHT_ADDR (0x62)