mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we can now get the same information from inode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user