drm/msm/hdmi: don't take extra reference on PHY device
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 26 Aug 2022 09:39:26 +0000 (12:39 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 4 Nov 2022 12:29:04 +0000 (15:29 +0300)
commit248adb815bc138e9d7d73a73c608b87b080d3740
treea140cab64682b93d1c3cfdd1e9af434ba4285ed8
parent69a88d8633ecc577cb6915a4050ec1e7a4099814
drm/msm/hdmi: don't take extra reference on PHY device

The of_find_device_by_node() already increments the device's usage
count, so there is no need to increment it again using get_device().
Drop this extra get_device().

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/499648/
Link: https://lore.kernel.org/r/20220826093927.851597-5-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/hdmi/hdmi.c