On 2026-08-23T19:12:43, Daniel Golle <[email protected]> wrote: > mtd: nand: spi: drop the eager ubi_blk binding > > spinand_bind() binds a ubi_blk device at bind time. Now that "cmd: > ubi: create a ubi_blk device when attaching UBI" binds one generically > when UBI is attached -- with an identical result, only lazily and for > any flash type -- the SPI-NAND-specific eager call is redundant. > > Drop it to avoid the duplicate code path (a ubi_blk is unusable before > UBI is attached anyway). The mtd_blk binding is kept: bare mtd_blk > access to SPI-NAND remains available for users who want it. > > Signed-off-by: Daniel Golle <[email protected]> > > drivers/mtd/nand/spi/core.c | 3 --- > 1 file changed, 3 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
