summaryrefslogtreecommitdiff
path: root/drivers/acpi/proc.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2015-09-11 17:49:22 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-15 03:03:15 +0200
commitf934c745079ea3a15e8619350faf681dad42cc91 (patch)
treed4ac61f4503d9a643fa0cef6ceeee400feccdfae /drivers/acpi/proc.c
parentc33cab60bc0e05ddf1ef1b2cba8d16dd010f600a (diff)
downloadlinux-rpi-f934c745079ea3a15e8619350faf681dad42cc91.tar.gz
linux-rpi-f934c745079ea3a15e8619350faf681dad42cc91.tar.bz2
linux-rpi-f934c745079ea3a15e8619350faf681dad42cc91.zip
ACPI: change acpi_sleep_proc_init() to return void
This patch changes the type of the return value of the acpi_sleep_proc_init() method to be void, as this method never fails and its return value is never used. Signed-off-by: Rami Rosen <ramirose@gmail.com>\ [ rjw : Fixed up the static inline stub ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/proc.c')
-rw-r--r--drivers/acpi/proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c
index 75c28eae8860..2a358154b770 100644
--- a/drivers/acpi/proc.c
+++ b/drivers/acpi/proc.c
@@ -144,11 +144,9 @@ static const struct file_operations acpi_system_wakeup_device_fops = {
.release = single_release,
};
-int __init acpi_sleep_proc_init(void)
+void __init acpi_sleep_proc_init(void)
{
/* 'wakeup device' [R/W] */
proc_create("wakeup", S_IFREG | S_IRUGO | S_IWUSR,
acpi_root_dir, &acpi_system_wakeup_device_fops);
-
- return 0;
}