Re: [PATCH 1/2] spi: cadence: use to_platform_device()

2015-12-30 Thread Mark Brown
On Wed, Dec 30, 2015 at 10:57:35PM +0800, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. Please don't send new patches in reply to the middle of other serieses, it gets confusing working out what the currently propose series is. Send new patches as new patches. signatu

[PATCH 1/2] spi: cadence: use to_platform_device()

2015-12-30 Thread Geliang Tang
Use to_platform_device() instead of open-coding it. Signed-off-by: Geliang Tang Reviewed-by: Moritz Fischer --- drivers/spi/spi-cadence.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index 5a67498..121a413 100644