drm: rcar-du: lvds: Avoid duplication of clock clamp code
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 7 Sep 2015 12:44:44 +0000 (15:44 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 23 Feb 2016 07:34:30 +0000 (09:34 +0200)
commitd9829a328943c06b034f52885ea650e334b062a7
treeb151399960e27578c01a5e752db076f9bcfb881b
parent2427b3037710d4aa71c9c1cdfcd542805e0c53f3
drm: rcar-du: lvds: Avoid duplication of clock clamp code

Replace the duplicate code by a single central function.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c
drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.h