mmc: sdhci-s3c: Use NULL instead of 0 for pointers
[deliverable/linux.git] / drivers / mmc / host / sdhci-s3c.c
index c9ec725884e5cbe6b841a2008241fc8b20db2d8d..47bb04390f9c3511601c80e18032d48dada4450d 100644 (file)
@@ -456,12 +456,12 @@ static int __devinit sdhci_s3c_parse_dt(struct device *dev,
                return -ENOMEM;
 
        /* get the card detection method */
-       if (of_get_property(node, "broken-cd", 0)) {
+       if (of_get_property(node, "broken-cd", NULL)) {
                pdata->cd_type = S3C_SDHCI_CD_NONE;
                goto setup_bus;
        }
 
-       if (of_get_property(node, "non-removable", 0)) {
+       if (of_get_property(node, "non-removable", NULL)) {
                pdata->cd_type = S3C_SDHCI_CD_PERMANENT;
                goto setup_bus;
        }
This page took 0.025354 seconds and 5 git commands to generate.