projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faff375
)
[MTD] m25p80.c code cleanup
author
Chen Gong
<g.chen@freescale.com>
Mon, 11 Aug 2008 08:59:14 +0000
(16:59 +0800)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 11 Aug 2008 16:32:43 +0000
(17:32 +0100)
code cleanup for m25p80.c
Signed-off-by: Chen Gong <g.chen@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/devices/m25p80.c
b/drivers/mtd/devices/m25p80.c
index 8fbd1b57f60658370dbb6235e082c15189f4bb45..b2b58c1bb321b97a73e613263e28495bd749bbb2 100644
(file)
--- a/
drivers/mtd/devices/m25p80.c
+++ b/
drivers/mtd/devices/m25p80.c
@@
-134,7
+134,7
@@
static inline int write_enable(struct m25p *flash)
{
u8 code = OPCODE_WREN;
- return spi_write
_then_read(flash->spi, &code, 1, NULL, 0
);
+ return spi_write
(flash->spi, &code, 1
);
}