Re: [PATCH 3/7] clk: meson: axg-audio: remove useless defines

From: Neil Armstrong
Date: Fri Sep 27 2019 - 05:10:48 EST


On 24/09/2019 17:33, Jerome Brunet wrote:
> Defining the number of each input type is no longer necessary since
> we are not using the clk-input hack anymore
>
> Fixes: 282420eed23f ("clk: meson: axg-audio: migrate to the new parent description method")
> Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
> ---
> drivers/clk/meson/axg-audio.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
> index 18b23cdf679c..60ac71856e5e 100644
> --- a/drivers/clk/meson/axg-audio.c
> +++ b/drivers/clk/meson/axg-audio.c
> @@ -20,10 +20,6 @@
> #include "clk-phase.h"
> #include "sclk-div.h"
>
> -#define AUD_MST_IN_COUNT 8
> -#define AUD_SLV_SCLK_COUNT 10
> -#define AUD_SLV_LRCLK_COUNT 10
> -
> #define AUD_GATE(_name, _reg, _bit, _phws, _iflags) \
> struct clk_regmap aud_##_name = { \
> .data = &(struct clk_regmap_gate_data){ \
>

Acked-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>