fbdev: sh_mobile_lcdc: Split channel initialization from probe function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 31 Aug 2011 11:00:58 +0000 (13:00 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 5 Sep 2011 16:37:14 +0000 (16:37 +0000)
commit3ce05599907c604a8af9cefe8c5e0702a30d1112
treedb2e9870bda13e9e0ea829497a639a43f5e1d801
parentb4bee692e5d5a3beb5b59ca7967c0a98e3efcc26
fbdev: sh_mobile_lcdc: Split channel initialization from probe function

Move channel initialization to sh_mobile_lcdc_channel_init() and call
the function from sh_mobile_lcdc_probe(). This makes the code more
readable and prepares it for fix/var initialization rework.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/sh_mobile_lcdcfb.c