[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181229055925.GA12884@AExdroid03>
Date: Sat, 29 Dec 2018 13:59:25 +0800
From: fuyao <fuyao@...winnertech.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] power_suuupy: change brace's place
---
drivers/power/supply/power_supply_sysfs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c
index 5204f115970f..be1577e96c59 100644
--- a/drivers/power/supply/power_supply_sysfs.c
+++ b/drivers/power/supply/power_supply_sysfs.c
@@ -75,7 +75,8 @@ static const char * const power_supply_scope_text[] = {
static ssize_t power_supply_show_property(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
ssize_t ret = 0;
struct power_supply *psy = dev_get_drvdata(dev);
const ptrdiff_t off = attr - power_supply_attrs;
--
2.19.1
Powered by blists - more mailing lists