On 12-10-15, 18:09, Stephen Boyd wrote: > The code that creates debugfs file with different file ops based > on the file mode is duplicated in each debugfs_create_*() API. > Consolidate that code into debugfs_create_mode(), that takes > three file ops structures so that we don't have to keep > copy/pasting that logic. > > Signed-off-by: Stephen Boyd <sb...@codeaurora.org> > --- > fs/debugfs/file.c | 98 > ++++++++++++++++++------------------------------------- > 1 file changed, 32 insertions(+), 66 deletions(-)
Reviewed-by: Viresh Kumar <viresh.ku...@linaro.org> -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/