Re: [PATCH v2 2/2] i2c: davinci: Use struct name not type with devm_kzalloc()
From: Wolfram Sang
Date: Wed Jun 07 2023 - 05:30:24 EST
On Mon, May 15, 2023 at 12:50:42PM -0500, Andrew Davis wrote:
> This reduces chance of error if the type of "dev" changes. While here
> remove extra error print out, this is not usually done for memory
> allocation failures.
>
> Signed-off-by: Andrew Davis <afd@xxxxxx>
Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature