From: Dan Carpenter Date: Sat, 11 Apr 2009 08:52:29 +0000 (-0700) Subject: phy: error handling for platform_device_register_simple() X-Git-Tag: v2.6.30-rc3~78^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57401d5e36d2966247e9c06b94f5133609c8da21;p=pandora-kernel.git phy: error handling for platform_device_register_simple() platform_device_register_simple() returns ERR_PTR() and not NULL. Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed