drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we can now get the same information from inode

This commit is contained in:
Xiang Xiao
2018-11-08 09:46:11 -06:00
committed by Gregory Nutt
parent d32d9d4b24
commit 247414c6ad
30 changed files with 33 additions and 648 deletions
-8
View File
@@ -327,14 +327,6 @@ FAR struct mtd_dev_s *skel_initialize(void)
* device structure.
*/
/* Perform initialization as necessary */
#ifdef CONFIG_MTD_REGISTRATION
/* Register the MTD with the procfs system if enabled */
mtd_register(&priv->mtd, "skeleton");
#endif
/* Return the implementation-specific state structure as the MTD device */
return (FAR struct mtd_dev_s *)&g_skeldev;