On Tue, Mar 26, 2024 at 08:07:57PM +0200, Andy Shevchenko wrote: > Since driver can parse num-cs device property, replace platform data > with this new approach. But why? > -static struct pxa2xx_spi_controller spitz_spi_info = { > - .num_chipselect = 3, > -}; > +static const struct property_entry spitz_spi_properties[] = { > + PROPERTY_ENTRY_U32("num-cs", 3), > + { } > +}; This is just platform data with less validation AFAICT.
Attachment:
signature.asc
Description: PGP signature