spi: rcar: Fix pointer cast in the remove function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 00:41:45 +0000 (01:41 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 27 Nov 2013 16:31:34 +0000 (16:31 +0000)
commit5ffbe2d90d81b8734eaf69ee4dad8507f318aad0
treebe974a1245105285e4b34a39b85e465b5073eeca
parent8e1c8096faae6b8ac788a1bbeeea126044cb485a
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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c
This page took 0.024862 seconds and 5 git commands to generate.