On Wed, Sep 21, 2022 at 10:02:25AM +0800, Yang Yingliang wrote: > On 2022/9/21 2:33, Mark Brown wrote: > > If we're switching please update to the modern naming and use > > "controller" rather than the old name. > Do you mean to use spi_controller instead of spi_master? Something like > this: > 'struct spi_controller * ctlr = devm_spi_alloc_master();' Or just use devm_spi_alloc_controller() directly. > Dose spi_master_get_devdata() need be changed to > spi_controller_get_devdata() ? Ideally.
Attachment:
signature.asc
Description: PGP signature