staging: xgifb: rename XGINew_GetLCDDDCInfo() to XGINew_SenseLCD()
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 12 Nov 2011 22:09:24 +0000 (00:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:02:24 +0000 (18:02 -0800)
Eliminate an unnecessary wrapper function.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/vb_ext.c

index fb6d63cee825d731256f806a45a890a310165eb0..f85d7d64d4186238874086af8ec0a50882682edf 100644 (file)
@@ -13,8 +13,7 @@
  *********************** Dynamic Sense ************************
  *************************************************************/
 
-static unsigned char
-XGINew_GetLCDDDCInfo(struct xgi_hw_device_info *HwDeviceExtension,
+unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *HwDeviceExtension,
                     struct vb_device_info *pVBInfo)
 {
        unsigned short temp;
@@ -56,14 +55,3 @@ XGINew_GetLCDDDCInfo(struct xgi_hw_device_info *HwDeviceExtension,
                return 1;
        }
 }
-
-unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *HwDeviceExtension,
-                              struct vb_device_info *pVBInfo)
-{
-       /* unsigned short SoftSetting ; */
-       unsigned short temp;
-
-       temp = XGINew_GetLCDDDCInfo(HwDeviceExtension, pVBInfo);
-
-       return temp;
-}