lkml.org 
[lkml]   [2018]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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
    \
     
     \ /
      Last update: 2018-12-29 07:00    [W:17.063 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site