mtd: brcmnand: remove unnecessary fields from brcmnand_soc

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 6 10:59:08 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=494da07c0f20245b3af54e33e1d2cd91d386c412
Commit:     494da07c0f20245b3af54e33e1d2cd91d386c412
Parent:     a86c947b25a57b2ff85132138d36ad75549b4cba
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Wed May 20 17:05:06 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Sep 30 13:07:02 2015 -0700

    mtd: brcmnand: remove unnecessary fields from brcmnand_soc
    
    These really aren't needed, especially now that we embed the soc struct
    in our private struct, so we can stash things there if needed.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/brcmnand/brcmnand.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/mtd/nand/brcmnand/brcmnand.h b/drivers/mtd/nand/brcmnand/brcmnand.h
index 169f99e..ef5eabb 100644
--- a/drivers/mtd/nand/brcmnand/brcmnand.h
+++ b/drivers/mtd/nand/brcmnand/brcmnand.h
@@ -21,8 +21,6 @@ struct platform_device;
 struct dev_pm_ops;
 
 struct brcmnand_soc {
-	struct platform_device *pdev;
-	void *priv;
 	bool (*ctlrdy_ack)(struct brcmnand_soc *soc);
 	void (*ctlrdy_set_enabled)(struct brcmnand_soc *soc, bool en);
 	void (*prepare_data_bus)(struct brcmnand_soc *soc, bool prepare);



More information about the linux-mtd-cvs mailing list