]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/sun4i: tcon-top: Cleanup clock handling
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 10 Jul 2018 20:34:57 +0000 (22:34 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 07:51:59 +0000 (09:51 +0200)
commitaf11942ee44ed9d61ce7d8b1bd3277195ec4c1c1
tree75daad7bf355ca2f21330fa7853a9dd3853ea9d4
parentd978a94b0a9e011dc3a7528fc9a34f0553ad0890
drm/sun4i: tcon-top: Cleanup clock handling

There is no need to acquire reference to clock just to get its name.

This commit just cleans up the code. There is no functional change.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
[Maxime: Fixed the of_property_match_string error check]
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180710203511.18454-5-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_tcon_top.c