Hi, This is the second set of patches that aim to replace custom defines for register fields. The ultimate goal is to have MSB:LSB notation for register fields and FIELD_* macros removed. Mike Rapoport (30): staging: sm750fb: formatPllReg: rename ulPllReg to reg staging: sm750fb: formatPllReg: fix comment formatting staging: sm750fb: rename PANEL_PLL_CTRL_* fields to PLL_CTRL_* staging: sm750fb: use PLL_CTRL_POWER defines for CRT_PLL_CTRL staging: sm750fb: use BIT macro for PLL_CTRL single-bit fields staging: sm750fb: change defintion of PANEL_PLL_CTRL multi-bit fields staging: sm750fb: drop redundant defines for PLL_CTRL fields staging: sm750fb: use BIT macro for VGA_CONFIGURATION single-bit fields staging: sm750fb: change definition of VGA_CONFIGURATION multi-bit field staging: sm750fb: programModeRegisters: rename local vairables staging: sm750fb: setDisplayControl: rename local vairables staging: sm750fb: share common bits in display control registers staging: sm750fb: merge reserved bits of PANEL/CRT_DISPLAY_CTRL registers staging: sm750fb: refactor setDisplayControl function staging: sm750fb: hw_sm750_setBLANK: reduce printk verbosity staging: sm750fb: use BIT macro for PANEL_DISPLAY_CTRL single-bit fields staging: sm750fb: remove PANEL_DISPLAY_CTRL_TFT_DISP defines staging: sm750fb: change definition of PANEL_DISPLAY_CTRL multi-bit fields staging: sm750fb: change definition of PANEL_FB_ADDRESS fields staging: sm750fb: change definition of PANEL_FB_WIDTH fields staging: sm750fb: change definition of PANEL_WINDOW_WIDTH fields staging: sm750fb: change definition of PANEL_WINDOW_HEIGHT fields staging: sm750fb: change definition of PANEL_PLANE_TL fields staging: sm750fb: change definition of PANEL_PLANE_BR fields staging: sm750fb: use BIT macro for DMA_ABORT_INTERRUPT single-bit fields staging: sm750fb: use BIT macro for CRT_DISPLAY_CTRL single-bit fields staging: sm750fb: change definition of CRT_DISPLAY_CTRL multi-bit fields staging: sm750fb: use BIT macro for I2C_CTRL fields staging: sm750fb: use BIT macro for I2C_STATUS fields staging: sm750fb: change definition of PANEL_HORIZONTAL_TOTAL fields drivers/staging/sm750fb/ddk750_chip.c | 54 ++-- drivers/staging/sm750fb/ddk750_display.c | 176 ++++-------- drivers/staging/sm750fb/ddk750_hwi2c.c | 23 +- drivers/staging/sm750fb/ddk750_mode.c | 95 ++++--- drivers/staging/sm750fb/ddk750_power.c | 6 +- drivers/staging/sm750fb/ddk750_reg.h | 462 +++++++++---------------------- drivers/staging/sm750fb/sm750_hw.c | 119 ++++---- 7 files changed, 335 insertions(+), 600 deletions(-) -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel