of: Fix null pointer related warnings in base.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 27 Jun 2012 04:14:45 +0000 (09:44 +0530)
committerRob Herring <rob.herring@calxeda.com>
Fri, 6 Jul 2012 12:16:33 +0000 (07:16 -0500)
commita3a7cab17d36bb591867a6d3ea41b5fdb4e44d87
treea9f7a2e4af782a47032b647db6f8de867c20f4c2
parent177259c3ecca713b5995988309ea0ffd7383c286
of: Fix null pointer related warnings in base.c file

Fixes the following sparse warnings:
drivers/of/base.c:176:41: warning: Using plain integer as NULL pointer
drivers/of/base.c:178:37: warning: Using plain integer as NULL pointer
drivers/of/base.c:500:49: warning: Using plain integer as NULL pointer

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/base.c