drm: bridge: dw-hdmi: remove the function is_rockchip
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 28 Apr 2017 03:06:48 +0000 (11:06 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Tue, 2 May 2017 07:21:28 +0000 (15:21 +0800)
The function is_rockchip isn't used any more now that phy reset
operation is performed based on detected phy type.

Change-Id: I58e7a222bc1e1578f0d5d2fcd884b17171fb9601
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
include/drm/bridge/dw_hdmi.h

index dda259da124acc31b3d5ca1a6e4798e28a3d33c1..f5447b6a4d3497c91104aa649f015bef9975229d 100644 (file)
@@ -92,18 +92,6 @@ struct dw_hdmi_plat_data {
                             unsigned long mpixelclock);
 };
 
-static inline bool is_rockchip(enum dw_hdmi_devtype dev_type)
-{
-       switch (dev_type) {
-       case RK3288_HDMI:
-       case RK3368_HDMI:
-       case RK3399_HDMI:
-               return true;
-       default:
-               return false;
-       }
-}
-
 void dw_hdmi_unbind(struct device *dev, struct device *master, void *data);
 int dw_hdmi_bind(struct device *dev, struct device *master,
                 void *data, struct drm_encoder *encoder,