diff options
author | Andrew Davis <[email protected]> | 2023-05-15 12:50:42 -0500 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-06-07 11:28:48 +0200 |
commit | 1ebafd5f5caaece1d25556cfb3a8f7fcb7629550 (patch) | |
tree | 68dfff91979591cb7b1179298b0932cdeda38e93 /scripts/generate_rust_analyzer.py | |
parent | c3cc5c59cb16dbf14d8c52ac4df6650438613b5b (diff) |
i2c: davinci: Use struct name not type with devm_kzalloc()
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 <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions