# Re: \[PATCH v2 2/2\] i2c: davinci: Use struct name not type with devm\_kzalloc()

- From: Wolfram Sang \<wsa@kernel.org\>
- Date: 2023-06-07 09:30:27 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2023/06/2224345
- Thread: https://ratatoskr.run/linux-arm-kernel/2023/05/2198195/t.md

```text
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 <redacted>

Applied to for-next, thanks!

```
