zephyr/drivers/display
Peter Bigot 4f16b419e8 device: avoid casting away const from config_info pointer
The driver-specific config_info structure referenced from the device
structure is marked const.  Some drivers fail to preserve that
qualifier when casting the pointer to the driver-specific structure,
violating MISRA 11.8.

Changes produced by scripts/coccinelle/const_config_info.cocci.

Some changes proposed by the script are not included because they
reveal mutation of state through the const pointer, though the
code works as long as the driver-specific object is defined without
the const qualifier.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-05-13 18:21:52 +02:00
..
CMakeLists.txt drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
display_dummy.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
display_framebuf.c cleanup: include/: move display.h to drivers/display.h 2019-06-27 22:55:49 -04:00
display_ili9340.c drivers: display: ili9340: Convert to new DT_INST macros 2020-03-27 16:55:28 -05:00
display_ili9340.h docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
display_ili9340_adafruit_1480.c docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
display_ili9340_seeed_tftv2.c coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
display_mcux_elcdif.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
display_sdl.c drivers: display: Add support for RGB565 to SDL display 2020-01-20 09:21:04 -06:00
display_st7789v.c drivers: display: st7789v: add power management support 2020-05-09 13:07:17 +02:00
display_st7789v.h drivers: display_st7789v: obtain panel settings and parameters from DT 2020-01-02 17:00:06 -05:00
gd7965.c drivers: display: gd7965: Convert to new DT_INST macros 2020-03-27 16:55:28 -05:00
gd7965_regs.h drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
grove_lcd_rgb.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
Kconfig drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
Kconfig.dummy kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.gd7965 drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
Kconfig.grove license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.ili9340 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_elcdif kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.microbit timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
Kconfig.sdl drivers: display: Add support for RGB565 to SDL display 2020-01-20 09:21:04 -06:00
Kconfig.ssd16xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.ssd1306 drivers: ssd1306: add choice symbol to controller type choice 2020-01-14 11:06:57 -05:00
Kconfig.st7789v kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
mb_display.c timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
mb_font.c drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
mb_font.h drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
ssd16xx.c drivers: ssd16xx: rework initialization of the controller memory 2020-05-08 15:11:10 +02:00
ssd16xx_regs.h drivers: ssd16xx: allow only specific RAM to update 2019-09-18 15:00:38 -05:00
ssd1306.c drivers: display: ssd1306: Convert to new DT_INST macros 2020-03-27 16:55:28 -05:00
ssd1306_regs.h drivers: ssd1306: Support GPIO reset function 2019-02-22 10:32:43 -05:00