diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2006-09-30 18:28:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 01:51:07 -0400 |
commit | 50dd096973f1d95aa03c6a6d9e148d706b62b68e (patch) | |
tree | 1f047b9c574672c133559922af5d4aee2816b9ae /drivers/acpi/ibm_acpi.c | |
parent | b4bd8c66435a8cdf8c90334fb3b517a23ff2ab95 (diff) |
ACPI: Remove unnecessary from/to-void* and to-void casts in drivers/acpi
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ibm_acpi.c')
-rw-r--r-- | drivers/acpi/ibm_acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index 15fc12482ba0..6fbb42048890 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c | |||
@@ -1721,7 +1721,7 @@ static struct ibm_struct ibms[] = { | |||
1721 | static int dispatch_read(char *page, char **start, off_t off, int count, | 1721 | static int dispatch_read(char *page, char **start, off_t off, int count, |
1722 | int *eof, void *data) | 1722 | int *eof, void *data) |
1723 | { | 1723 | { |
1724 | struct ibm_struct *ibm = (struct ibm_struct *)data; | 1724 | struct ibm_struct *ibm = data; |
1725 | int len; | 1725 | int len; |
1726 | 1726 | ||
1727 | if (!ibm || !ibm->read) | 1727 | if (!ibm || !ibm->read) |
@@ -1746,7 +1746,7 @@ static int dispatch_read(char *page, char **start, off_t off, int count, | |||
1746 | static int dispatch_write(struct file *file, const char __user * userbuf, | 1746 | static int dispatch_write(struct file *file, const char __user * userbuf, |
1747 | unsigned long count, void *data) | 1747 | unsigned long count, void *data) |
1748 | { | 1748 | { |
1749 | struct ibm_struct *ibm = (struct ibm_struct *)data; | 1749 | struct ibm_struct *ibm = data; |
1750 | char *kernbuf; | 1750 | char *kernbuf; |
1751 | int ret; | 1751 | int ret; |
1752 | 1752 | ||
@@ -1775,7 +1775,7 @@ static int dispatch_write(struct file *file, const char __user * userbuf, | |||
1775 | 1775 | ||
1776 | static void dispatch_notify(acpi_handle handle, u32 event, void *data) | 1776 | static void dispatch_notify(acpi_handle handle, u32 event, void *data) |
1777 | { | 1777 | { |
1778 | struct ibm_struct *ibm = (struct ibm_struct *)data; | 1778 | struct ibm_struct *ibm = data; |
1779 | 1779 | ||
1780 | if (!ibm || !ibm->notify) | 1780 | if (!ibm || !ibm->notify) |
1781 | return; | 1781 | return; |