[PATCH 2/2] ACPI: battery.c: Fixed flying pointer mark issue. Coding style issue.

2015-07-05 Thread Daniel Machon
Fixed coding style issue.

Signed-off-by: Daniel Machon 
---
 drivers/acpi/battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index b3628cc..0447c6a 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -918,8 +918,8 @@ static int acpi_battery_print_alarm(struct seq_file *seq, 
int result)
 }
 
 static ssize_t acpi_battery_write_alarm(struct file *file,
-   const char __user * buffer,
-   size_t count, loff_t * ppos)
+   const char __user *buffer,
+   size_t count, loff_t *ppos)
 {
int result = 0;
char alarm_string[12] = { '\0' };
-- 
2.1.4

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


[PATCH 2/2] ACPI: battery.c: Fixed flying pointer mark issue. Coding style issue.

2015-07-05 Thread Daniel Machon
Fixed coding style issue.

Signed-off-by: Daniel Machon dmachon@gmail.com
---
 drivers/acpi/battery.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index b3628cc..0447c6a 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -918,8 +918,8 @@ static int acpi_battery_print_alarm(struct seq_file *seq, 
int result)
 }
 
 static ssize_t acpi_battery_write_alarm(struct file *file,
-   const char __user * buffer,
-   size_t count, loff_t * ppos)
+   const char __user *buffer,
+   size_t count, loff_t *ppos)
 {
int result = 0;
char alarm_string[12] = { '\0' };
-- 
2.1.4

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