From: Joe Perches on
Signed-off-by: Joe Perches <joe(a)perches.com>
---
drivers/misc/ibmasm/ibmasmfs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/ibmasm/ibmasmfs.c b/drivers/misc/ibmasm/ibmasmfs.c
index 8844a3f..8d650d6 100644
--- a/drivers/misc/ibmasm/ibmasmfs.c
+++ b/drivers/misc/ibmasm/ibmasmfs.c
@@ -517,7 +517,7 @@ static int remote_settings_file_close(struct inode *inode, struct file *file)

static ssize_t remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset)
{
- void __iomem *address = (void __iomem *)file->private_data;
+ void __iomem *address = file->private_data;
unsigned char *page;
int retval;
int len = 0;
@@ -551,7 +551,7 @@ exit:

static ssize_t remote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset)
{
- void __iomem *address = (void __iomem *)file->private_data;
+ void __iomem *address = file->private_data;
char *buff;
unsigned int value;

--
1.7.1.337.g6068.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/