Change names of struct member variables, according to coding style.

Patch upholds compileability.

Co-developed-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Daniel Bauer <daniel.j.ba...@fau.de>
Signed-off-by: Sven Leykauf <sven_leyka...@web.de>
---
 drivers/staging/sm750fb/ddk750_dvi.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/sm750fb/ddk750_dvi.c 
b/drivers/staging/sm750fb/ddk750_dvi.c
index 8e9a78531538..48f40dcc5ffd 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -11,7 +11,7 @@
  * function API. Please set the function pointer to NULL whenever the function
  * is not supported.
  */
-static struct dvi_ctrl_device g_dcftSupportedDviController[] = {
+static struct dvi_ctrl_device g_dcft_supported_dvi_controller[] = {
 #ifdef DVI_CTRL_SII164
        {
                .pfn_init = sii164InitChip,
@@ -41,11 +41,11 @@ int dvi_init(unsigned char edge_select,
             unsigned char pll_filter_enable,
             unsigned char pll_filter_value)
 {
-       struct dvi_ctrl_device *pCurrentDviCtrl;
+       struct dvi_ctrl_device *p_current_dvi_ctrl;
 
-       pCurrentDviCtrl = g_dcftSupportedDviController;
-       if (pCurrentDviCtrl->pfn_init) {
-               return pCurrentDviCtrl->pfn_init(edge_select,
+       p_current_dvi_ctrl = g_dcft_supported_dvi_controller;
+       if (p_current_dvi_ctrl->pfn_init) {
+               return p_current_dvi_ctrl->pfn_init(edge_select,
                                                bus_select,
                                                dual_edge_clk_select,
                                                hsync_enable,
-- 
2.20.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to