From 51983b7dcf3a50f4fdf6353235cd520e6c946e5a Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Wed, 10 Sep 2014 00:26:16 -0700 Subject: [PATCH] mtd: spi-nor: eliminate duplicate spi_nor_wait_till_{, fsr}_ready() code These functions were near-carbon-copies due to a small per-flash quirk. Let's add a new spi_nor::flags bitfield to support these types of quirks. Signed-off-by: Brian Norris Reviewed-by: Marek Vasut Cc: Graham Moore Cc: Huang Shijie Signed-off-by: Brian Norris --- Reading git-format-patch failed