Patchwork [1/6] mtd: cfi_cmdset_0002: remove unused MANUFACTURER_{AMD, ATMEL} definitions

login
register
mail settings
Submitter Guillaume LECERF
Date Feb. 20, 2010, 12:57 p.m.
Message ID <20100220125748.14843.70415.stgit@shiryu.yomgui.biz>
Download mbox | patch
Permalink /patch/45920/
State New
Headers show

Comments

Guillaume LECERF - Feb. 20, 2010, 12:57 p.m.
Remove MANUFACTURER_AMD and MANUFACTURER_ATMEL definition from
cfi_cmdset_0002.c as it is unused and a deplicate of CFI_MFR_{AMD,ATMEL}
already in include/linux/mtd/cfi.h.

Signed-off-by: Guillaume Lecerf <glecerf@gmail.com>
---
 drivers/mtd/chips/cfi_cmdset_0002.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Artem Bityutskiy - March 30, 2010, 1:03 p.m.
On Sat, 2010-02-20 at 13:57 +0100, Guillaume LECERF wrote:
> Remove MANUFACTURER_AMD and MANUFACTURER_ATMEL definition from
> cfi_cmdset_0002.c as it is unused and a deplicate of CFI_MFR_{AMD,ATMEL}
> already in include/linux/mtd/cfi.h.
> 
> Signed-off-by: Guillaume Lecerf <glecerf@gmail.com>
> ---
>  drivers/mtd/chips/cfi_cmdset_0002.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
> index f3600e8..1fe27ea 100644
> --- a/drivers/mtd/chips/cfi_cmdset_0002.c
> +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
> @@ -43,8 +43,6 @@
>  
>  #define MAX_WORD_RETRIES 3
>  
> -#define MANUFACTURER_AMD	0x0001
> -#define MANUFACTURER_ATMEL	0x001F
>  #define MANUFACTURER_MACRONIX	0x00C2
>  #define MANUFACTURER_SST	0x00BF
>  #define SST49LF004B	        0x0060

This patch series does not apply to the current mtd-2.6.git. Please,
take a look and re-send it.

Patch

diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index f3600e8..1fe27ea 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -43,8 +43,6 @@ 
 
 #define MAX_WORD_RETRIES 3
 
-#define MANUFACTURER_AMD	0x0001
-#define MANUFACTURER_ATMEL	0x001F
 #define MANUFACTURER_MACRONIX	0x00C2
 #define MANUFACTURER_SST	0x00BF
 #define SST49LF004B	        0x0060