aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/button.c')
-rw-r--r--drivers/acpi/button.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index 5ef885e82c78..fe914ebc4bbc 100644
--- a/drivers/acpi/button.c
+++ b/drivers/acpi/button.c
@@ -109,7 +109,7 @@ static struct proc_dir_entry *acpi_button_dir;
109 109
110static int acpi_button_info_seq_show(struct seq_file *seq, void *offset) 110static int acpi_button_info_seq_show(struct seq_file *seq, void *offset)
111{ 111{
112 struct acpi_button *button = (struct acpi_button *)seq->private; 112 struct acpi_button *button = seq->private;
113 113
114 114
115 if (!button || !button->device) 115 if (!button || !button->device)
@@ -128,7 +128,7 @@ static int acpi_button_info_open_fs(struct inode *inode, struct file *file)
128 128
129static int acpi_button_state_seq_show(struct seq_file *seq, void *offset) 129static int acpi_button_state_seq_show(struct seq_file *seq, void *offset)
130{ 130{
131 struct acpi_button *button = (struct acpi_button *)seq->private; 131 struct acpi_button *button = seq->private;
132 acpi_status status; 132 acpi_status status;
133 unsigned long state; 133 unsigned long state;
134 134
@@ -253,7 +253,7 @@ static int acpi_button_remove_fs(struct acpi_device *device)
253 253
254static void acpi_button_notify(acpi_handle handle, u32 event, void *data) 254static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
255{ 255{
256 struct acpi_button *button = (struct acpi_button *)data; 256 struct acpi_button *button = data;
257 257
258 258
259 if (!button || !button->device) 259 if (!button || !button->device)
@@ -275,7 +275,7 @@ static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
275 275
276static acpi_status acpi_button_notify_fixed(void *data) 276static acpi_status acpi_button_notify_fixed(void *data)
277{ 277{
278 struct acpi_button *button = (struct acpi_button *)data; 278 struct acpi_button *button = data;
279 279
280 280
281 if (!button) 281 if (!button)