Re: [PATCH 2/2] clk: samsung: exynos-clkout: convert to module driver

From: Stephen Boyd
Date: Tue Oct 13 2020 - 22:43:52 EST


Quoting Krzysztof Kozlowski (2020-10-01 09:56:46)
> diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c
> index 34ccb1d23bc3..68af082d4716 100644
> --- a/drivers/clk/samsung/clk-exynos-clkout.c
> +++ b/drivers/clk/samsung/clk-exynos-clkout.c
> @@ -28,41 +31,103 @@ struct exynos_clkout {
[...]
> + if (!match) {
> + dev_err(dev, "cannot match parent device\n");
> + return -EINVAL;
> + }
> + variant = match->data;
> +
> + *mux_mask = variant->mux_mask;
> + dev_err(dev, "MATCH: %x\n", variant->mux_mask);

Is this a debug print?

> +
> + return 0;
> +}
>