Re: [PATCH 4/7] OMAP: DSS: Add i2c client driver for picodlp

Tomi Valkeinen
2011-04-19T11:42:08Z

On Mon, 2011-04-18 at 11:45 +0530, Mayuresh Janorkar wrote:
> The configurations and data transfer with picodlp panel happens through i2c.
> An i2c client with name "picodlp_i2c_driver" is registered inside panel.
>
> Signed-off-by: Mythri P K <mythripk@ti.com>
> Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
> Signed-off-by: Mythri P K <mythripk@ti.com>
> ---
> drivers/video/omap2/displays/panel-picodlp.c | 130 +++++++++++++++++++++++++-
> 1 files changed, 126 insertions(+), 4 deletions(-)

<snip>

> @@ -65,8 +131,10 @@ static int picodlp_panel_power_on(struct omap_dss_device *dssdev)
> msleep(675);
> dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
>
> - return 0;
> + picodlp_i2c_data =
> + i2c_get_clientdata(picod->picodlp_i2c_client);

This variable is not used at all.

Tomi