Message ID | 1382628454-11951-1-git-send-email-kishon@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Oct 24, 2013 at 08:57:34PM +0530, Kishon Vijay Abraham I wrote: > Fixed the following compilation warning: > ../../drivers/video/exynos/exynos_mipi_dsi.c: In function > 'exynos_mipi_dsi_blank_mode': > ../../drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused > variable 'pdev' [-Wunused-variable] > struct platform_device *pdev = to_platform_device(dsim->dev); > > Reported-by: Olof Johansson <olof@lixom.net> > Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> pretty obvious patch: Reviewed-by: Felipe Balbi <balbi@ti.com>
diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 00b3a52..cee9602 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c @@ -141,7 +141,6 @@ static int exynos_mipi_dsi_early_blank_mode(struct mipi_dsim_device *dsim, static int exynos_mipi_dsi_blank_mode(struct mipi_dsim_device *dsim, int power) { - struct platform_device *pdev = to_platform_device(dsim->dev); struct mipi_dsim_lcd_driver *client_drv = dsim->dsim_lcd_drv; struct mipi_dsim_lcd_device *client_dev = dsim->dsim_lcd_dev;
Fixed the following compilation warning: ../../drivers/video/exynos/exynos_mipi_dsi.c: In function 'exynos_mipi_dsi_blank_mode': ../../drivers/video/exynos/exynos_mipi_dsi.c:144:26: warning: unused variable 'pdev' [-Wunused-variable] struct platform_device *pdev = to_platform_device(dsim->dev); Reported-by: Olof Johansson <olof@lixom.net> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- drivers/video/exynos/exynos_mipi_dsi.c | 1 - 1 file changed, 1 deletion(-)