Re: [PATCH v4] clk: Add PWM clock driver

Stephen Boyd
2015-02-13T17:16:08Z

On 12/12/14 02:47, Philipp Zabel wrote:
> +
> +const struct clk_ops clk_pwm_ops = {

static?

> + .prepare = clk_pwm_prepare,
> + .unprepare = clk_pwm_unprepare,
> + .recalc_rate = clk_pwm_recalc_rate,
> +};
> +
> +int clk_pwm_probe(struct platform_device *pdev)

static?

> +{
> + struct device_node *node = pdev->dev.of_node;
> + struct clk_init_data init;
> + struct clk_pwm *clk_pwm;
> + struct pwm_device *pwm;
> + const char *clk_name;
> + struct clk *clk;
> + int ret;
[...]
> +}
> +
> +int clk_pwm_remove(struct platform_device *pdev)

static?

> +{
> + of_clk_del_provider(pdev->dev.of_node);
> +
> + return 0;
> +}
>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project