On Tue, Mar 30, 2021 at 08:56:41AM -0300, Fabio Estevam wrote: > What about doing it like this? > - spi_data = (struct davinci_spi_of_data *)match->data; > + spi_data = device_get_match_data(&pdev->dev); Yes, exactly.
Attachment:
signature.asc
Description: PGP signature