]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: picodlp panel: handle gpio data in panel driver
authorArchit Taneja <archit@ti.com>
Tue, 4 Dec 2012 10:06:34 +0000 (15:36 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:21:09 +0000 (15:21 +0300)
commit297bcb4e346d5493b966a797b632cd7235075885
tree6817da53b67bcf82458605f64fcfbba07802928f
parent6760aeed2f3d70cbd749d1eee12b89d223f829d3
OMAPDSS: picodlp panel: handle gpio data in panel driver

The picodlp panel driver leaves gpio requests to the platform's board file.
These should happen in the panel driver itself.

A platform data struct called picodlp_panel_data already exists to hold gpio
numbers and other platform data. Request all the gpios in the panel driver so
that the board files which use the the panel don't need to do it.

This will help in removing the need for the panel drivers to have platform
related callbacks.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-picodlp.c