Message ID | 1420797676-22515-8-git-send-email-siarhei.siamashka@gmail.com |
---|---|
State | Superseded |
Delegated to: | Hans de Goede |
Headers | show |
On Fri, 9 Jan 2015 12:01:15 +0200 Siarhei Siamashka <siarhei.siamashka@gmail.com> wrote: > So that we don't need to keep it as a hardcoded magic number > in the code or the hassle exposing it as a Kconfig option. > > Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by: Anatolij Gustschin <agust@denx.de>
diff --git a/drivers/video/sunxi_lcd_panel.c b/drivers/video/sunxi_lcd_panel.c index cdde639..ebc0ca5 100644 --- a/drivers/video/sunxi_lcd_panel.c +++ b/drivers/video/sunxi_lcd_panel.c @@ -79,7 +79,6 @@ int sunxi_ssd2828_init(const struct ctfb_res_modes *mode) .sdi_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SPI_MOSI), .sdo_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SPI_MISO), .reset_pin = sunxi_name_to_gpio(CONFIG_VIDEO_LCD_SSD2828_RESET), - .ssd2828_tx_clk_khz = 27000, .ssd2828_color_depth = 24, #ifdef CONFIG_VIDEO_LCD_PANEL_MIPI_4_LANE_513_MBPS_VIA_SSD2828 .mipi_dsi_number_of_data_lanes = 4,
So that we don't need to keep it as a hardcoded magic number in the code or the hassle exposing it as a Kconfig option. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> --- drivers/video/sunxi_lcd_panel.c | 1 - 1 file changed, 1 deletion(-)