Re: [PATCH v5 2/2] mfd: cros ec: spi: Use 0 instead of '\0' consistently

Lee Jones
2013-12-16T13:51:24Z

On Mon, 16 Dec 2013, Thierry Reding wrote:

> 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>
> ---
> Changes in v5:
> - new patch
>
> drivers/mfd/cros_ec_spi.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog