]> 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)
commit2391bac751efcafc8411fb0ce64bc39e264b8c0d
tree1b241f60a8331fc95227a6442ed40245dd00d92d
parent576f8f6fa04adbcc565865301c968c810a1a14a2
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