<commit_before>#include <module.h>
#include <kernel/resource.h>
#include <kernel/vfs.h>
#include <system/system.h>
#include <base/base.h>
#include "mouse.h"

static struct system_node root;

static unsigned int interfacenode_dataread(struct system_node *self, unsigned int offset, unsigned int count, void *buffer)
{

    struct mouse_interfacenode *node = (struct mouse_interfacenode *)self->parent;

    return node->interface->rdata(offset, count, buffer);

}

void mouse_registerinterface(struct mouse_interface *interface, struct base_bus *bus, unsigned int id)
{

    base_registerinterface(&interface->base, bus, id);
    system_addchild(&root, &interface->node.base);
    system_addchild(&interface->node.base, &interface->node.data);


}

void mouse_unregisterinterface(struct mouse_interface *interface)
{<commit_msg>fix typo<commit_after>#include <module.h>
#include <kernel/resource.h>
#include <kernel/vfs.h>
#include <system/system.h>
#include <base/base.h>
#include "mouse.h"

static struct system_node root;

static unsigned int interfacenode_dataread(struct system_node *self, unsigned int offset, unsigned int count, void *buffer)
{

    struct mouse_interfacenode *node = (struct mouse_interfacenode *)self->parent;

    return node->interface->rdata(offset, count, buffer);

}

void mouse_registerinterface(struct mouse_interface *interface, struct base_bus *bus, unsigned int id)
{

    base_registerinterface(&interface->base, bus, id);
    system_addchild(&root, &interface->node.base);
    system_addchild(&interface->node.base, &interface->node.data);

}

void mouse_unregisterinterface(struct mouse_interface *interface)
{
{'fraction_non_alphanumeric': 0.12014563106796117, 'fraction_numerical': 0.0, 'mean_word_length': 6.07725321888412, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6096164', 'n_tokens_mistral': 512, 'n_tokens_neox': 506, 'n_words': 123}