Skip to content

Commit

Permalink
mtd: sm_common: remove casts from void
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kulikov Vasiliy authored and David Woodhouse committed Aug 2, 2010
1 parent 029919c commit ece0ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/sm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ece0ac9

Please sign in to comment.