Messages in this thread | | | Date | Thu, 24 Feb 2022 14:53:20 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH v2 2/3] pwm: pwm-mediatek: Allocate clk_pwms with devm_kmalloc_array |
| |
On Mon, Feb 14, 2022 at 03:03:38PM +0100, AngeloGioacchino Del Regno wrote: > Switch from devm_kcalloc to devm_kmalloc_array when allocating clk_pwms, > as this structure is being filled right after allocating it, hence > there is no need to zero it out beforehand. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > drivers/pwm/pwm-mediatek.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thierry [unhandled content-type:application/pgp-signature] | |