Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5af6dcf authored by Kulikov Vasiliy's avatar Kulikov Vasiliy Committed by David Woodhouse
Browse files

mtd: r852: remove casts from void



Remove unnesessary casts from void*.

Signed-off-by: default avatarKulikov Vasiliy <segooon@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 771a115a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -64,8 +64,8 @@ static inline void r852_write_reg_dword(struct r852_device *dev,
/* returns pointer to our private structure */
static inline struct r852_device *r852_get_dev(struct mtd_info *mtd)
{
	struct nand_chip *chip = (struct nand_chip *)mtd->priv;
	return (struct r852_device *)chip->priv;
	struct nand_chip *chip = mtd->priv;
	return chip->priv;
}