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)
commitd52e2e7557eace36e7eb731bbd40ed3588eb0f1b
tree6817da53b67bcf82458605f64fcfbba07802928f
parent3552fb78f1d8d0403ca7f8224da3e85bf2776321
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