power_suuupy: change brace's place
PATCH 1/1 power_suuupy: change brace's place
--- drivers/power/supply/power_supply_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/power/supply/power_supply_sysfs.c +2 -1
@@ -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;
Signature · 1 line
2.19.1
Sebastian Reichel
maintainerHi fuyao,
Sorry, but your patch does not follow kernel patch submission rules. All patches should have a long description, that describes _why_ the patch is required. Also it needs a Signed-off-by line submitted with your full realname. Last but not least there is a typo in the subject and the patch is not send to the right mailinglist. Please resubmit after reading the files in Documentation/process.
Thanks for your patch,
-- Sebastian
Quoted 21 lines · fuyao
--- drivers/power/supply/power_supply_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/power/supply/power_supply_sysfs.c +2
-1@@ -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;Signature · 1 line
2.19.1