From: Laurent Pinchart Date: Wed, 27 Nov 2013 00:41:45 +0000 (+0100) Subject: spi: rcar: Fix pointer cast in the remove function X-Git-Tag: v3.14-rc1~91^2~4^6~1^2~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ffbe2d90d81b8734eaf69ee4dad8507f318aad0;p=pandora-kernel.git spi: rcar: Fix pointer cast in the remove function The platform driver data is set to point to the rspi_data structure at probe time. Calling spi_master_get() on the pointer is just plain wrong and only works by chance. Fix it by using the platform driver data directly. Signed-off-by: Laurent Pinchart Signed-off-by: Mark Brown --- Reading git-diff-tree failed