Re: [PATCH v2 04/15] clk: sunxi-ng: Add fixed factor clock support

Stephen Boyd
2016-06-21T01:15:37Z

On 06/07, Maxime Ripard wrote:
> +
> +#include <linux/clk-provider.h>
> +
> +#include "ccu_common.h"
> +
> +struct ccu_fixed_factor {
> + u16 div;
> + u16 mult;
> +
> + struct ccu_common common;

Does this use the common structure although we have no usage for
the members of struct ccu_common except struct clk_hw? I suppose
this is done so registering a bunch of clks is easy?

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project