Messages in this thread | | | From | Nick Crews <> | Date | Fri, 10 May 2019 10:09:10 -0600 | 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.
| |