On Monday, January 13, 2020 7:59:05 AM EET Jungseung Lee wrote: > The shift variable of SR_BP is conclusive because the first bit of SR_BP > is fixed on all known flashes. > > Introduce SR_BP_SHIFT define and let them used by stm_* functions > to replace ffs operation to get shift value. > > Signed-off-by: Jungseung Lee <js07.lee@xxxxxxxxxxx> > --- > drivers/mtd/spi-nor/spi-nor.c | 11 +++++------ > include/linux/mtd/spi-nor.h | 2 ++ > 2 files changed, 7 insertions(+), 6 deletions(-) Applied to spi-nor/next. Thanks. ta ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/