On Mon, Jul 24, 2017 at 4:55 PM, Thierry Reding
wrote:
> From: Thierry Reding
>
> Rather than manually compute the size of an array, pass the number and
> element size to kcalloc().
>
> Signed-off-by: Thierry Reding
Patch applied with Jon's ACK.
Yours,
Linus Walleij
On 24/07/17 15:55, Thierry Reding wrote:
> From: Thierry Reding
>
> Rather than manually compute the size of an array, pass the number and
> element size to kcalloc().
>
> Signed-off-by: Thierry Reding
> ---
> drivers/gpio/gpio-tegra.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions
2 matches
Mail list logo