summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-nomadik.c
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2023-05-15 12:50:42 -0500
committerWolfram Sang <wsa@kernel.org>2023-06-07 11:28:48 +0200
commit1ebafd5f5caaece1d25556cfb3a8f7fcb7629550 (patch)
tree68dfff91979591cb7b1179298b0932cdeda38e93 /drivers/i2c/busses/i2c-nomadik.c
parentc3cc5c59cb16dbf14d8c52ac4df6650438613b5b (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 <afd@ti.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-nomadik.c')
0 files changed, 0 insertions, 0 deletions