diff options
author | Luis Ortega Perez de Villar <luiorpe1@upv.es> | 2013-07-19 22:05:41 +0200 |
---|---|---|
committer | Luis Ortega Perez de Villar <luiorpe1@upv.es> | 2013-07-19 22:05:41 +0200 |
commit | cbfbcb953aa0f1d004f3bce5d8c83400cbfbdc7c (patch) | |
tree | dbd6bc49c61d5116e81aa62a1ee40fda28337ece /scull/main.c | |
parent | b39bcf923ae57a40dade8f5d16d3dcd084ec881a (diff) | |
download | ldd3-cbfbcb953aa0f1d004f3bce5d8c83400cbfbdc7c.tar.gz |
scull: main | pipe : Fix coding style
Replace white space indentation introduced with the previous patch
with 8 characters width TABs to comply with the kernel coding style.
Diffstat (limited to 'scull/main.c')
-rw-r--r-- | scull/main.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scull/main.c b/scull/main.c index 3946c8e..d0eef18 100644 --- a/scull/main.c +++ b/scull/main.c @@ -178,7 +178,7 @@ static struct seq_operations scull_seq_ops = { */ static int scullmem_proc_open(struct inode *inode, struct file *file) { - return single_open(file, scull_read_procmem, NULL); + return single_open(file, scull_read_procmem, NULL); } static int scullseq_proc_open(struct inode *inode, struct file *file) @@ -190,11 +190,11 @@ static int scullseq_proc_open(struct inode *inode, struct file *file) * Create a set of file operations for our proc files. */ static struct file_operations scullmem_proc_ops = { - .owner = THIS_MODULE, - .open = scullmem_proc_open, - .read = seq_read, - .llseek = seq_lseek, - .release = single_release + .owner = THIS_MODULE, + .open = scullmem_proc_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release }; static struct file_operations scullseq_proc_ops = { @@ -212,10 +212,10 @@ static struct file_operations scullseq_proc_ops = { static void scull_create_proc(void) { - proc_create_data("scullmem", 0 /* default mode */, - NULL /* parent dir */, &scullmem_proc_ops, - NULL /* client data */); - proc_create("scullseq", 0, NULL, &scullseq_proc_ops); + proc_create_data("scullmem", 0 /* default mode */, + NULL /* parent dir */, &scullmem_proc_ops, + NULL /* client data */); + proc_create("scullseq", 0, NULL, &scullseq_proc_ops); } static void scull_remove_proc(void) |