Searched hist:"5 ffbe2d9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-rspi.c | 5ffbe2d9 Tue Nov 26 18:41:45 CST 2013 Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 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> 5ffbe2d9 Tue Nov 26 18:41:45 CST 2013 Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 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>
|