From: Kenth Eriksson Date: Fri, 30 Mar 2012 15:05:30 +0000 (+0200) Subject: spi/mpc83xx: fix NULL pdata dereference bug X-Git-Tag: v3.4-rc3~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5039a86973cd35bdb2f64d28ee12f13fe2bb5a4c;p=pandora-kernel.git spi/mpc83xx: fix NULL pdata dereference bug Commit 178db7d3, "spi: Fix device unregistration when unregistering the bus master", changed device initialization to be children of the bus master, not children of the bus masters parent device. The pdata pointer used in fsl_spi_chipselect must updated to reflect the changed initialization. Signed-off-by: Kenth Eriksson Acked-by: Joakim Tjernlund Signed-off-by: Grant Likely --- Reading git-diff-tree failed