Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-07 Thread Guenter Roeck
On 01/06/2017 02:17 PM, Edward James wrote: [ ... ] > +} > + > +static DEVICE_ATTR(online, S_IWUSR | S_IRUGO, show_occ_online, > + store_occ_online); > + > +struct occ_sysfs *occ_sysfs_start(struct device *dev, struct occ *occ, > + struct occ_sysfs_config *config) > +{ > +

Re: [PATCH] doc: add note on usleep_range range

2017-01-07 Thread Nicholas Mc Guire
On Tue, Dec 27, 2016 at 10:56:26PM +0100, Pavel Machek wrote: > On Tue 2016-12-13 04:58:43, Nicholas Mc Guire wrote: > > useleep_range() with a delta of 0 makes no sense and only prevents the > > timer subsystem from optimizing interrupts. As any user of usleep_range() > > is in non-atomic context