From: Alexandre Rusev Date: Thu, 27 Oct 2011 14:18:37 +0000 (+0400) Subject: powerpc/fsl-lbc: Fix for fsl_upm X-Git-Tag: v3.2-rc4~25^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7145cf12095265b8a292835d0f6da87f89fac1d1;p=pandora-kernel.git powerpc/fsl-lbc: Fix for fsl_upm If Freescale LBC driver fails to initialise itself from device tree, then internal structure is freed only but not NULL-fied. As result functions fsl_lbc_find() after checking the structure is not NULL are trying to access device registers. Signed-off-by: Alexandre Rusev Signed-off-by: Kumar Gala --- Reading git-diff-tree failed