From 560e1e005093b1d62c53391d68960237294e7f89 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Fri, 19 Nov 2021 15:12:07 +0100 Subject: clk: define LOG_CATEGORY for generic and ccf clocks Define LOG_CATEGORY to allow filtering with log command for generic clock and CCF clocks. This patch also change existing printf, debug and pr_ macro to log_ or dev_ macro. Signed-off-by: Patrick Delaunay Reviewed-by: Sean Anderson --- drivers/clk/clk-fixed-factor.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/clk/clk-fixed-factor.c') diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 9fcf30f..2a44678 100644 --- a/drivers/clk/clk-fixed-factor.c +++ b/drivers/clk/clk-fixed-factor.c @@ -5,10 +5,14 @@ * * Copyright (C) 2011 Sascha Hauer, Pengutronix */ + +#define LOG_CATEGORY UCLASS_CLK + #include #include #include #include +#include #include #include #include -- cgit v1.1