Re: [PATCH v3 8/8] gpio: mockup: use devm_kcalloc() where applicable
From: Linus Walleij
Date: Tue Jun 20 2017 - 03:18:12 EST
On Fri, Jun 9, 2017 at 1:41 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> When allocating a zeroed array of objects use devm_kcalloc() instead
> of manually calculating the required size and using devm_kzalloc().
>
> Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx>
Patch applied.
Yours,
Linus Walleij