Suzuki K Poulose
92ce7e83b4
driver_find_device: Unify the match function with class_find_device()
...
The driver_find_device() accepts a match function pointer to
filter the devices for lookup, similar to bus/class_find_device().
However, there is a minor difference in the prototype for the
match parameter for driver_find_device() with the now unified
version accepted by {bus/class}_find_device(), where it doesn't
accept a "const" qualifier for the data argument. This prevents
us from reusing the generic match functions for driver_find_device().
For this reason, change the prototype of the driver_find_device() to
make the "match" parameter in line with {bus/class}_find_device()
and adjust its callers to use the const qualifier. Also, we could
now promote the "data" parameter to const as we pass it down
as a const parameter to the match functions.
Cc: Corey Minyard <minyard@acm.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Sebastian Ott <sebott@linux.ibm.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Nehal Shah <nehal-bakulchandra.shah@amd.com>
Cc: Shyam Sundar S K <shyam-sundar.s-k@amd.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-24 05:22:31 +02:00
..
2016-01-14 08:43:50 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2016-11-17 16:10:24 +01:00
2018-07-13 00:09:36 +02:00
2019-02-01 08:21:13 +00:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2016-08-08 12:53:26 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:29:52 -07:00
2019-06-24 05:22:31 +02:00
2018-10-23 08:58:34 +01:00
2016-01-14 08:43:58 +00:00
2017-12-28 12:26:35 +01:00
2015-12-04 08:46:39 +00:00
2017-02-13 09:29:40 +00:00
2019-02-01 08:21:13 +00:00
2019-05-30 11:26:35 -07:00
2018-06-04 08:44:17 +01:00
2019-02-07 10:44:09 +00:00
2018-01-08 11:03:35 +00:00
2019-05-14 08:13:26 +01:00
2018-05-29 09:09:29 +01:00
2019-05-14 08:13:26 +01:00
2017-09-05 08:46:00 +01:00
2019-05-14 08:13:27 +01:00
2019-05-30 11:26:32 -07:00
2019-01-09 16:55:09 +01:00
2019-01-03 08:32:42 +00:00
2019-05-21 11:28:45 +02:00
2019-05-21 11:28:45 +02:00
2019-05-14 08:13:27 +01:00
2016-11-21 13:00:18 +00:00
2019-05-14 08:13:26 +01:00
2018-06-05 11:15:08 +01:00
2019-05-14 08:13:26 +01:00
2019-05-30 11:29:19 -07:00
2016-01-14 08:44:03 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2016-01-14 08:44:04 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:37 -07:00
2019-05-14 08:13:26 +01:00
2019-05-14 08:13:26 +01:00
2019-05-14 08:13:26 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2018-07-27 08:13:25 +01:00
2019-05-30 11:26:32 -07:00
2019-01-03 08:32:42 +00:00
2015-11-04 11:02:12 +00:00
2017-10-24 09:12:14 +01:00
2018-07-27 08:13:25 +01:00
2017-09-05 08:46:00 +01:00
2019-05-24 17:36:45 +02:00
2018-10-23 08:58:34 +01:00
2019-05-14 08:13:27 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2019-05-14 08:13:25 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2019-02-18 09:06:52 +00:00
2019-05-14 08:13:27 +01:00
2019-05-16 19:05:35 -07:00
2019-02-18 09:06:52 +00:00
2017-07-06 08:29:11 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:28 -07:00
2019-05-21 10:50:46 +02:00
2018-07-27 08:13:24 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-02-07 10:44:00 +00:00
2016-10-04 15:48:04 +01:00
2016-04-19 07:55:23 +01:00
2016-04-11 13:31:40 +01:00
2015-08-11 15:08:48 +01:00
2017-09-05 08:46:01 +01:00
2018-01-08 11:03:35 +00:00
2019-01-03 08:32:42 +00:00
2018-06-05 11:14:56 +01:00
2018-06-05 11:14:56 +01:00
2018-06-05 11:14:56 +01:00
2019-05-14 08:09:23 +01:00
2015-08-11 15:08:48 +01:00
2019-02-01 08:21:13 +00:00
2017-09-05 08:46:00 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2019-05-08 12:50:14 +01:00
2019-05-08 12:06:21 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2018-10-23 08:58:34 +01:00
2019-01-03 08:32:42 +00:00
2015-08-11 15:08:48 +01:00
2018-09-07 13:03:55 +01:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-05-08 12:06:02 +01:00
2018-10-23 08:58:34 +01:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:37 -07:00
2018-09-11 16:47:33 +01:00
2019-05-07 21:50:24 +09:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-01-03 08:32:42 +00:00
2019-02-13 09:35:12 +01:00
2018-06-04 06:47:52 +01:00
2019-01-03 08:32:42 +00:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:29:52 -07:00
2019-05-24 17:36:45 +02:00
2017-07-18 08:27:18 +01:00
2019-05-14 08:13:26 +01:00
2017-07-06 08:29:11 +01:00
2018-10-02 15:58:11 +01:00
2016-04-19 07:56:17 +01:00
2019-05-14 08:13:25 +01:00
2019-05-14 08:13:25 +01:00
2018-05-16 09:21:48 +01:00
2016-04-19 07:56:28 +01:00
2019-02-07 10:43:09 +00:00
2018-05-16 09:21:48 +01:00
2019-04-02 05:59:46 +01:00
2019-05-14 08:13:28 +01:00
2019-02-01 08:21:13 +00:00
2018-01-08 11:03:35 +00:00
2018-05-16 09:10:38 +01:00
2019-05-10 08:21:23 +01:00
2016-08-10 09:25:18 +01:00
2015-10-28 10:30:17 +09:00
2019-02-01 08:20:04 +00:00
2016-08-10 09:25:18 +01:00
2019-01-16 13:59:34 +00:00
2019-05-30 11:29:22 -07:00
2016-11-29 08:21:26 +00:00
2019-05-30 11:29:22 -07:00
2019-06-24 05:22:30 +02:00
2019-05-14 08:13:28 +01:00
2016-11-29 08:21:19 +00:00
2019-05-14 08:13:28 +01:00
2019-05-14 08:13:28 +01:00
2018-12-03 11:33:10 +00:00
2019-04-07 20:45:49 +02:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:29:19 -07:00
2018-01-08 11:03:34 +00:00
2019-05-30 11:29:22 -07:00
2016-06-29 10:14:35 +01:00
2019-01-03 08:32:42 +00:00
2019-05-24 17:36:45 +02:00
2016-03-16 08:50:15 +00:00
2019-05-30 11:29:52 -07:00
2017-10-13 10:42:58 +01:00
2019-02-01 08:21:13 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2016-11-29 08:21:21 +00:00
2017-02-13 09:29:43 +00:00
2019-05-14 08:13:27 +01:00
2019-02-07 10:44:14 +00:00
2019-02-01 08:21:13 +00:00
2019-02-18 09:06:57 +00:00
2017-11-29 16:28:45 +00:00
2019-05-30 11:26:35 -07:00
2017-09-04 14:41:02 +01:00
2019-05-30 11:26:35 -07:00
2019-05-14 08:13:25 +01:00
2019-05-30 11:26:35 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:29:19 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:35 -07:00
2016-05-09 13:27:39 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2016-11-29 08:21:26 +00:00
2019-01-03 08:32:42 +00:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2015-09-04 11:46:02 -07:00
2016-03-16 08:50:22 +00:00