Re: [PATCH] video: of: display_timing: Remove a redundant zeroing of memory

2022-03-23 Thread Helge Deller
On 3/22/22 21:33, Christophe JAILLET wrote: > of_parse_display_timing() already call memset(0) on its 2nd argument, so > there is no need to clear it explicitly before calling this function. > > Use kmalloc() instead of kzalloc() to save a few cycles. > > Signed-off-by: Christophe JAILLET applied

[PATCH] video: of: display_timing: Remove a redundant zeroing of memory

2022-03-22 Thread Christophe JAILLET
of_parse_display_timing() already call memset(0) on its 2nd argument, so there is no need to clear it explicitly before calling this function. Use kmalloc() instead of kzalloc() to save a few cycles. Signed-off-by: Christophe JAILLET --- drivers/video/of_display_timing.c | 2 +- 1 file changed,