pinctrl: stmfx: define LOG_CATEGORY

Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
Patrick Delaunay 2021-11-10 18:14:10 +01:00 committed by Patrice Chotard
parent 0c6079c2a9
commit 4c5956086a

View File

@ -5,8 +5,12 @@
* Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander
* based on Linux driver : pinctrl/pinctrl-stmfx.c
*/
#define LOG_CATEGORY UCLASS_PINCTRL
#include <common.h>
#include <dm.h>
#include <log.h>
#include <i2c.h>
#include <asm/gpio.h>
#include <dm/device.h>