fbdev: sh_mobile_lcdc: Replace hardcoded register values with macros
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 13 Jul 2011 10:13:47 +0000 (12:13 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 06:22:37 +0000 (08:22 +0200)
commitce1c0b0873bf4e970970a49612105cf6c36d81e3
treeb835cfe8cb16fec12271d8905d4ae04ef1052db9
parentf1ad90da5c0fcb8841cc5e6d66c56f4005d8c960
fbdev: sh_mobile_lcdc: Replace hardcoded register values with macros

Instead of hardcoding register values through the driver, define macros
for individual register bits using the register name and the bit name,
and use the macros.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c
include/video/sh_mobile_lcdc.h