lkml.org 
[lkml]   [2015]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2/2] ACPI: battery.c: Fixed flying pointer mark issue. Coding style issue.
Fixed coding style issue.

Signed-off-by: Daniel Machon <dmachon.dev@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


\
 
 \ /
  Last update: 2015-07-05 20:01    [W:0.018 / U:3.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site