aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2025-08-29 09:03:45 +0000
committerChun-Kuang Hu <[email protected]>2025-09-10 12:52:59 +0000
commit9ba2556cef1df746fad4d691c8290e235b23c7d1 (patch)
tree5e626f8517dce407c19a95002f3338a06eb1ac3c /drivers/fpga/fpga-bridge.c
parentdrm/mediatek: fix potential OF node use-after-free (diff)
downloadkernel-9ba2556cef1df746fad4d691c8290e235b23c7d1.tar.gz
kernel-9ba2556cef1df746fad4d691c8290e235b23c7d1.zip
drm/mediatek: clean up driver data initialisation
The platform and drm devices are only used to look up the drm device and its driver data respectively when initialising the driver data during bind(). Drop the reference counts as soon as they have been used to make the code more readable. Note that the crtc count is never incremented on lookup failures. Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: CK Hu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/ Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions