]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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>
Thu, 6 Dec 2012 18:54:59 +0000 (13:54 -0500)
commitab5023efdcfa87512663aca120245b0fec8511eb
tree8f02db6f02848022a5e2ce2f15693daf20d3598e
parenta7e968799bbc1e7d6e56a77abd62c714509040c4
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