Re: [PATCH 10/13] drivers: Introduce variants of class_find_device()
From: Greg KH
Date: Wed Jun 05 2019 - 12:18:45 EST
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
:(