]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cb377d28bdf7cf837fd993443f136551f7e7d92
tree1b241f60a8331fc95227a6442ed40245dd00d92d
parent525aa807c221cf2cfaecc783a24377e737afa061
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