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:
029919c
)
mtd: sm_common: remove casts from void
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:15:24 +0000
(14:15 +0400)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:06:10 +0000
(09:06 +0100)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/sm_common.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/sm_common.c
b/drivers/mtd/nand/sm_common.c
index ac80fb362e632423753ff82bf1c060b0c7f12833..4a8f367c295c404780e59d61dbcf19802462c29f 100644
(file)
--- a/
drivers/mtd/nand/sm_common.c
+++ b/
drivers/mtd/nand/sm_common.c
@@
-109,7
+109,7
@@
static struct nand_flash_dev nand_xd_flash_ids[] = {
int sm_register_device(struct mtd_info *mtd, int smartmedia)
{
- struct nand_chip *chip =
(struct nand_chip *)
mtd->priv;
+ struct nand_chip *chip = mtd->priv;
int ret;
chip->options |= NAND_SKIP_BBTSCAN;