Skip to content
Commit af11f317 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Helge Deller
Browse files

video: fbdev: of: display_timing: Remove a redundant zeroing of memory



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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 31231092
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment