Re: [PATCH/RFC v2 3/7] spi: core: Add support for registering SPI slave controllers

From: Mark Brown
Date: Thu Dec 15 2016 - 12:46:56 EST

On Sun, Sep 18, 2016 at 11:04:18AM +0200, Geert Uytterhoeven wrote:

> This is caused by moving the setup of master->dev.class.
> To fix this, I can
> 1) Introduce a separate spi_alloc_slave() function, which sets up
> spi_slave_class instead of spi_master class,

This seems more idiomatic.

Attachment: signature.asc
Description: PGP signature