Split the error between devm_kzalloc and
devm_input_allocate_device, there is no need to call the second
allocator if the first has failed. Besides this doesn't provide
practical advantages.
Signed-off-by: Andi Shyti
---
drivers/input/touchscreen/ili210x.c | 5 -
1 file
Split the error between devm_kzalloc and
devm_input_allocate_device, there is no need to call the second
allocator if the first has failed. Besides this doesn't provide
practical advantages.
Signed-off-by: Andi Shyti
---
drivers/input/touchscreen/ili210x.c | 5 -
1 file changed, 4
2 matches
Mail list logo