[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190605161439.GB17272@kroah.com>
Date: Wed, 5 Jun 2019 18:14:39 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Suzuki K Poulose <suzuki.poulose@....com>
Cc: linux-kernel@...r.kernel.org, rafael@...nel.org,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexander Aring <alex.aring@...il.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Andrew Lunn <andrew@...n.ch>, Arnd Bergmann <arnd@...db.de>,
Dan Murphy <dmurphy@...com>,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Harald Freudenberger <freude@...ux.ibm.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
Jiri Slaby <jslaby@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-leds@...r.kernel.org, linux-rtc@...r.kernel.org,
linux-usb@...r.kernel.org, linux-wpan@...r.kernel.org,
Mark Brown <broonie@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Pavel Machek <pavel@....cz>, Peter Rosin <peda@...ntia.se>,
Stefan Schmidt <stefan@...enfreihafen.org>,
Tomas Winkler <tomas.winkler@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
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
:(
Powered by blists - more mailing lists