[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHX4x8506kfxeuk4n5Q=HjceT5zV-gifGXYNYfge_wV825ki4Q@mail.gmail.com>
Date: Fri, 10 May 2019 10:09:10 -0600
From: Nick Crews <ncrews@...omium.org>
To: Enric Balletbo Serra <eballetbo@...il.com>
Cc: Enric Balletbo i Serra <enric.balletbo@...labora.com>,
Benson Leung <bleung@...omium.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Duncan Laurie <dlaurie@...omium.org>,
Daniel Erat <derat@...gle.com>,
Dmitry Torokhov <dtor@...gle.com>,
Simon Glass <sjg@...omium.org>, bartfab@...omium.org,
Oleh Lamzin <lamzin@...gle.com>,
Jason Wong <jchwong@...gle.com>
Subject: Re: [PATCH v3 1/2] platform/chrome: wilco_ec: Add Boot on AC support
Thanks for the review Enric!
I can resend the patch with the fixes, or if you think the fixes are
simple enough, you could tweak them as you apply them. Let
me know if you want me to resend a clean version.
> > +
> > +static DEVICE_ATTR_WO(boot_on_ac);
>
> Is not possible to read the flag? From the API description seems that it is.
It is not possible to read the flag. The API description is wrong,
I'll fix remove
the line about reading from the documentation.
> > +void wilco_ec_remove_sysfs(struct wilco_ec_device *ec)
> > +{
> > + sysfs_create_group(&ec->dev->kobj, &wilco_dev_attr_group);
>
> As Guenter pointed: sysfs_remove_group()
Yes, exactly.
Powered by blists - more mailing lists