From: Aaro Koskinen Date: Sat, 12 Nov 2011 22:09:24 +0000 (+0200) Subject: staging: xgifb: rename XGINew_GetLCDDDCInfo() to XGINew_SenseLCD() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a809f5c209d2fc48e2fdbc3a6307f3ed1b36e27;p=mv-sheeva.git staging: xgifb: rename XGINew_GetLCDDDCInfo() to XGINew_SenseLCD() Eliminate an unnecessary wrapper function. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/vb_ext.c b/drivers/staging/xgifb/vb_ext.c index fb6d63cee82..f85d7d64d41 100644 --- a/drivers/staging/xgifb/vb_ext.c +++ b/drivers/staging/xgifb/vb_ext.c @@ -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; -}