Re: [RFC 03/12] mtd: nand: use a static data_interface in the nand_chip structure

2017-10-18 Thread Boris Brezillon
On Wed, 18 Oct 2017 16:36:20 +0200 Miquel Raynal wrote: > Change the data_interface field from the nand_chip structure, convert > the pointer to a static structure. You mean "embed a nand_data_interface object". Not sure the static specifier can be used to describe what you do. > > Also remove

[RFC 03/12] mtd: nand: use a static data_interface in the nand_chip structure

2017-10-18 Thread Miquel Raynal
Change the data_interface field from the nand_chip structure, convert the pointer to a static structure. Also remove the nand_get_default_data_interface() function that become useless and rename the onfi_init_data_interface() by nand_fill_data_interface(), which is a more appropriate name because