[PATCH v2 2/2] i2c: davinci: Use struct name not type with devm_kzalloc()

Wolfram Sang wsa at kernel.org
Wed Jun 7 02:29:59 PDT 2023


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 at ti.com>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230607/7b812d5b/attachment.sig>


More information about the linux-arm-kernel mailing list