Skip to content
Commit daf93d22 authored by Thierry Reding's avatar Thierry Reding Committed by Lee Jones
Browse files

mfd: cros ec: spi: Use 0 instead of '\0' consistently



memset() was being called with the second parameter set to '\0', which
is equivalent but longer than the more canonical 0. Update the code to
use the latter variant consistently across the driver.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent fcfccdb2
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