[PATCH v2 12/16] mtd: utilize new cdev_device_add helper function