Re: [PATCH v2 4/4] clk: pmc-atom: use devm_kstrdup_const()

From: Stephen Boyd
Date: Thu Aug 30 2018 - 17:53:12 EST


Quoting Bartosz Golaszewski (2018-08-28 02:33:32)
> Use devm_kstrdup_const() in the pmc-atom driver. This mostly serves as
> an example of how to use this new routine to shrink driver code.
>
> While we're at it: replace a call to kcalloc() with devm_kcalloc().
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>

If you want this example to be merged through the clk tree please resend
after the other patches merge.