From: Anton Vorontsov Date: Tue, 7 Sep 2010 13:31:54 +0000 (+0400) Subject: base/platform: Simplifications for NULL platform data/resources handling X-Git-Tag: v2.6.37-rc1~156^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807508c8ff9af6ce8f25c5ca5f3eb06a8e7d3286;p=pandora-kernel.git base/platform: Simplifications for NULL platform data/resources handling There's no need to explicitly check for data and resources being NULL, as platform_device_add_{data,resources}() do this internally nowadays. This makes the code more linear and less indented. Signed-off-by: Anton Vorontsov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed