]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-s3c: Use NULL instead of 0 for pointers
authorTushar Behera <tushar.behera@linaro.org>
Tue, 20 Nov 2012 04:11:53 +0000 (09:41 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 4 Dec 2012 18:43:03 +0000 (13:43 -0500)
commit60b20cd5e4b7b3101a9f5e2768608ba5d08a6d16
treec1c870aa486437b3ba4e6fa5cc7c8573d38165bf
parentf0a79c4aa46af47327d7f069010bd701cbc537bf
mmc: sdhci-s3c: Use NULL instead of 0 for pointers

The third argument for of_get_property() is a pointer, hence pass
NULL instead of 0.

Fixes the following sparse warning:
sdhci-s3c.c:452:48: warning: Using plain integer as NULL pointer
sdhci-s3c.c:457:52: warning: Using plain integer as NULL pointer

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c