mfd: cros ec: spi: Use 0 instead of '\0' consistently
authorThierry Reding <thierry.reding@gmail.com>
Mon, 9 Dec 2013 11:36:10 +0000 (12:36 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:05 +0000 (08:28 +0000)
commitdaf93d2287ff8eb4a2f28224275fb02d623df2ab
tree1b241f60a8331fc95227a6442ed40245dd00d92d
parentfcfccdb22f340f9ae354f39793c206c7ead190dd
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: Thierry Reding <treding@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_spi.c