drm/imx: imx-tve: use devm_clk_register
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:37 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commite2127db8904a0438836b950f3077c0574488e7fd
tree10f429b5ece6be6007c9600b4252d543ac44303b
parenta91cfaf6e6503150ed1ef08454f2c03e1f95a4ec
drm/imx: imx-tve: use devm_clk_register

Avoid leaking the clock provider when the driver is unbound.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/imx/imx-tve.c