linux_dsm_epyc7002/drivers/gpu/drm/tegra
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
..
dc.c driver_find_device: Unify the match function with class_find_device() 2019-06-24 05:22:31 +02:00
dc.h drm/tegra: dc: Add Tegra194 support 2018-09-26 16:04:39 +02:00
dpaux.c drm/tegra: dpaux: Add Tegra194 support 2018-09-26 16:04:56 +02:00
dpaux.h drm/tegra: dpaux: Configure pads as I2C by default 2015-08-13 13:47:47 +02:00
drm.c drm/tegra: Restrict IOVA space to DMA mask 2019-02-07 18:29:00 +01:00
drm.h drm/tegra: Changes for v5.1-rc1 2019-02-11 13:32:49 +10:00
dsi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
dsi.h
falcon.c drm/tegra: falcon: Wait for memory scrubbing to complete 2018-11-29 17:11:49 +01:00
falcon.h drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
fb.c drm/tegra: Use drm_fb_helper_fill_info 2019-03-27 10:06:02 +01:00
gem.c drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages() 2019-04-18 11:48:09 +02:00
gem.h drm/tegra: gem: Make __tegra_gem_mmap() available more widely 2018-03-08 14:38:30 +01:00
gr2d.c drm/tegra: gr2d: Track interface version 2018-05-18 22:00:13 +02:00
gr2d.h
gr3d.c drm/tegra: gr3d: Track interface version 2018-05-18 22:00:25 +02:00
gr3d.h
hda.c drm/tegra: hda: Extract HDA format parsing code 2019-01-16 13:10:20 +01:00
hda.h drm/tegra: hda: Extract HDA format parsing code 2019-01-16 13:10:20 +01:00
hdmi.c drm/tegra: hdmi: Setup audio only if configured 2019-04-17 09:28:43 +02:00
hdmi.h drm/tegra: hdmi: Enable audio over HDMI 2016-07-04 11:34:31 +02:00
hub.c drm/tegra: hub: Fix dereference before check 2019-03-22 14:08:54 +01:00
hub.h drm/tegra: hub: Enable all required clocks 2018-11-29 17:25:21 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/tegra: hda: Extract HDA format parsing code 2019-01-16 13:10:20 +01:00
mipi-phy.c
mipi-phy.h
output.c drm/tegra: Refactor CEC support 2019-01-16 13:09:32 +01:00
plane.c drm/tegra: dc: Support rotation property 2018-05-18 21:56:21 +02:00
plane.h drm/tegra: dc: Support rotation property 2018-05-18 21:56:21 +02:00
rgb.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
sor.c drm/tegra: sor: Implement acquire/release for reset 2019-03-22 14:20:07 +01:00
sor.h drm/tegra: sor: Support for audio over HDMI 2018-12-03 16:37:26 +01:00
trace.c drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
trace.h drm/tegra: trace: Fix path to include 2017-09-26 11:08:17 +02:00
vic.c drm/tegra: vic: Fix implicit function declaration warning 2019-03-22 14:08:55 +01:00
vic.h drm/tegra: vic: Support stream ID register programming 2019-02-07 18:29:01 +01:00