ARM: pxa: clean up set_pxa_fb_info
set_pxa_fb_info() has been a long-standing wart in the naming scheme of the pxa_set_xxx_info() functions. This renames the function, and combines set_pxa_fb_parent() with set_pxa_fb_info(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:

committed by
Eric Miao

parent
54a93b69a4
commit
4321e1a12b
@@ -272,7 +272,7 @@ static struct pxafb_mach_info z2_lcd_screen = {
|
||||
|
||||
static void __init z2_lcd_init(void)
|
||||
{
|
||||
set_pxa_fb_info(&z2_lcd_screen);
|
||||
pxa_set_fb_info(NULL, &z2_lcd_screen);
|
||||
}
|
||||
#else
|
||||
static inline void z2_lcd_init(void) {}
|
||||
|
Reference in New Issue
Block a user