From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Fri, 25 Jan 2013 22:26:13 +0100 Subject: [U-Boot] [PATCH] common/lcd.c: cleanup use of global variables In-Reply-To: <1357415148-9243-1-git-send-email-wd@denx.de> References: <50E86DFC.20304@myspectrum.nl> <1357415148-9243-1-git-send-email-wd@denx.de> Message-ID: <5102F875.8030309@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/05/2013 08:45 PM, Wolfgang Denk wrote: > lcd_color_fg and lcd_color_bg had to be declared in board specific > code, but were not actually used there; in addition, we have getter / > setter functions for these, which were not used either. > > Get rid of the global variables, and use the getter function where > needed (so far no setter calls are needed). > > Signed-off-by: Wolfgang Denk > Cc: Alessandro Rubini > Cc: Anatolij Gustschin > Cc: Bo Shen > Cc: Haavard Skinnemoen > Cc: Kyungmin Park > Cc: Marek Vasut > Cc: Minkyu Kang > Cc: Nikita Kiryanov > Cc: Simon Glass > Cc: Stelian Pop > Cc: Tom Warren > --- > Acked-by: Jeroen Hofstee