]> 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)
commit155c7d391a2cdbc6997d2a95b1853250c7e97af7
tree6817da53b67bcf82458605f64fcfbba07802928f
parent20c4814e5d6eaec859f0f5ccf48d036d08e09dc1
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