Hi David, Stefan, On Sat, 27 Dec 2008 11:32:25 -0800 David Brownell <davi...@pacbell.net> wrote: > > Also: > > > +static struct of_platform_driver spi_ppc4xx_of_driver = { > > + .owner = THIS_MODULE, > > + .name = DRIVER_NAME, > > I'd hope the PPC folk eliminate this duplication soonish. > Those fields are obvious duplicates of the driver model > fields...
We are on the path (have been for some time). Only the driver model versions should be filled in for new drivers. For old drivers we copy the values into the driver model fields if they are not already set. We intend to remove the of_platform_drivers versions of "name" and "owner" soon. > > + .match_table = spi_ppc4xx_of_match, > > + .probe = spi_ppc4xx_of_probe, > > + .remove = __exit_p(spi_ppc4xx_of_remove), > > + .driver = { > > + .name = DRIVER_NAME, > > + .owner = THIS_MODULE, > > + }, > > +}; -- Cheers, Stephen Rothwell s...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
pgpagVA1QVtgU.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev