]> git.baikalelectronics.ru Git - kernel.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)
commit7329e7b2676a00b0b75aff005949fe57204c3fc8
tree75daad7bf355ca2f21330fa7853a9dd3853ea9d4
parent5cfa7e41d11c5c1bf34af4609c51912aeac75971
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