aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-09-09 16:20:47 +0000
committerStephen Boyd <[email protected]>2023-10-24 02:36:53 +0000
commitf234f028727f8634973f8a9ef2ec933eb0eade5b (patch)
treebdd6f70eeb772262f72034c0bf0923706b079fd5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentclk: rs9: Use i2c_get_match_data() instead of device_get_match_data() (diff)
downloadkernel-f234f028727f8634973f8a9ef2ec933eb0eade5b.tar.gz
kernel-f234f028727f8634973f8a9ef2ec933eb0eade5b.zip
clk: si5351: Simplify probe
The driver has an OF match table, still, it uses an ID lookup table for retrieving match data. Currently, the driver is working on the assumption that an I2C device registered via OF will always match a legacy I2C device ID. The correct approach is to have an OF device ID table using i2c_get_match_data() if the devices are registered via OF/ID. Simplify probe() by replacing ID lookup table for retrieving match data with i2c_get_match_data(). Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions