Messages in this thread | | | Date | Wed, 5 Jun 2019 18:14:39 +0200 | From | Greg KH <> | Subject | Re: [PATCH 10/13] drivers: Introduce variants of class_find_device() |
| |
On Wed, Jun 05, 2019 at 04:13:47PM +0100, Suzuki K Poulose wrote: > +/** > + * class_find_device_by_devt : device iterator for locating a particular device > + * matching the device type. > + * @class: class type > + * @start: device to start search from > + * @devt: device type of the device to match. > + */ > +static inline struct device *class_find_device_by_devt(struct class *class, > + struct device *start, > + dev_t devt) > +{ > + return class_find_device(class, start, &devt, device_match_devt); > +}
Still has the start parameter, despite the changelog saying it would not :(
| |