IBMASM: whitespace cleanup
IBMASM: whitespace cleanup Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vernon Mauery <vernux@us.ibm.com> Cc: Max Asbock <masbock@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
567f3e422a
commit
3110dc7a86
@@ -17,12 +17,12 @@
|
||||
*
|
||||
* Copyright (C) IBM Corporation, 2004
|
||||
*
|
||||
* Author: Max Asb<73>ck <amax@us.ibm.com>
|
||||
* Author: Max Asb<73>ck <amax@us.ibm.com>
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Parts of this code are based on an article by Jonathan Corbet
|
||||
* Parts of this code are based on an article by Jonathan Corbet
|
||||
* that appeared in Linux Weekly News.
|
||||
*/
|
||||
|
||||
@@ -55,22 +55,22 @@
|
||||
* For each service processor the following files are created:
|
||||
*
|
||||
* command: execute dot commands
|
||||
* write: execute a dot command on the service processor
|
||||
* read: return the result of a previously executed dot command
|
||||
* write: execute a dot command on the service processor
|
||||
* read: return the result of a previously executed dot command
|
||||
*
|
||||
* events: listen for service processor events
|
||||
* read: sleep (interruptible) until an event occurs
|
||||
* read: sleep (interruptible) until an event occurs
|
||||
* write: wakeup sleeping event listener
|
||||
*
|
||||
* reverse_heartbeat: send a heartbeat to the service processor
|
||||
* read: sleep (interruptible) until the reverse heartbeat fails
|
||||
* read: sleep (interruptible) until the reverse heartbeat fails
|
||||
* write: wakeup sleeping heartbeat listener
|
||||
*
|
||||
* remote_video/width
|
||||
* remote_video/height
|
||||
* remote_video/width: control remote display settings
|
||||
* write: set value
|
||||
* read: read value
|
||||
* write: set value
|
||||
* read: read value
|
||||
*/
|
||||
|
||||
#include <linux/fs.h>
|
||||
@@ -155,7 +155,7 @@ static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode)
|
||||
|
||||
static struct dentry *ibmasmfs_create_file (struct super_block *sb,
|
||||
struct dentry *parent,
|
||||
const char *name,
|
||||
const char *name,
|
||||
const struct file_operations *fops,
|
||||
void *data,
|
||||
int mode)
|
||||
@@ -261,7 +261,7 @@ static int command_file_close(struct inode *inode, struct file *file)
|
||||
struct ibmasmfs_command_data *command_data = file->private_data;
|
||||
|
||||
if (command_data->command)
|
||||
command_put(command_data->command);
|
||||
command_put(command_data->command);
|
||||
|
||||
kfree(command_data);
|
||||
return 0;
|
||||
@@ -348,7 +348,7 @@ static ssize_t command_file_write(struct file *file, const char __user *ubuff, s
|
||||
static int event_file_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
struct ibmasmfs_event_data *event_data;
|
||||
struct service_processor *sp;
|
||||
struct service_processor *sp;
|
||||
|
||||
if (!inode->i_private)
|
||||
return -ENODEV;
|
||||
@@ -573,7 +573,7 @@ static ssize_t remote_settings_file_write(struct file *file, const char __user *
|
||||
kfree(buff);
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
|
||||
value = simple_strtoul(buff, NULL, 10);
|
||||
writel(value, address);
|
||||
kfree(buff);
|
||||
|
Reference in New Issue
Block a user