fbdev: sh_mobile_lcdc: Remove board configuration owner field

The field is unused, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
このコミットが含まれているのは:
Laurent Pinchart
2011-09-11 22:59:04 +02:00
コミット aa7b5b0b2d
2個のファイルの変更2行の追加8行の削除

ファイルの表示

@@ -345,20 +345,16 @@ static void sh_mobile_lcdc_display_on(struct sh_mobile_lcdc_chan *ch)
}
/* HDMI must be enabled before LCDC configuration */
if (board_cfg->display_on && try_module_get(board_cfg->owner)) {
if (board_cfg->display_on)
board_cfg->display_on(board_cfg->board_data, ch->info);
module_put(board_cfg->owner);
}
}
static void sh_mobile_lcdc_display_off(struct sh_mobile_lcdc_chan *ch)
{
struct sh_mobile_lcdc_board_cfg *board_cfg = &ch->cfg.board_cfg;
if (board_cfg->display_off && try_module_get(board_cfg->owner)) {
if (board_cfg->display_off)
board_cfg->display_off(board_cfg->board_data);
module_put(board_cfg->owner);
}
if (ch->tx_dev)
ch->tx_dev->ops->display_off(ch->tx_dev);