cregit-Linux how code gets into the kernel

Release 4.9 drivers/staging/greybus/debugfs.c

/*
 * Greybus debugfs code
 *
 * Copyright 2014 Google Inc.
 * Copyright 2014 Linaro Ltd.
 *
 * Released under the GPLv2 only.
 */

#include <linux/debugfs.h>

#include "greybus.h"


static struct dentry *gb_debug_root;


void __init gb_debugfs_init(void) { gb_debug_root = debugfs_create_dir("greybus", NULL); }

Contributors

PersonTokensPropCommitsCommitProp
greg kroah-hartmangreg kroah-hartman1694.12%375.00%
alex elderalex elder15.88%125.00%
Total17100.00%4100.00%


void gb_debugfs_cleanup(void) { debugfs_remove_recursive(gb_debug_root); gb_debug_root = NULL; }

Contributors

PersonTokensPropCommitsCommitProp
greg kroah-hartmangreg kroah-hartman1275.00%266.67%
viresh kumarviresh kumar425.00%133.33%
Total16100.00%3100.00%


struct dentry *gb_debugfs_get(void) { return gb_debug_root; }

Contributors

PersonTokensPropCommitsCommitProp
alexandre bailonalexandre bailon12100.00%1100.00%
Total12100.00%1100.00%

EXPORT_SYMBOL_GPL(gb_debugfs_get);

Overall Contributors

PersonTokensPropCommitsCommitProp
greg kroah-hartmangreg kroah-hartman4063.49%342.86%
alexandre bailonalexandre bailon1726.98%114.29%
viresh kumarviresh kumar46.35%114.29%
alex elderalex elder23.17%228.57%
Total63100.00%7100.00%