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
Kconfig
Kconfig.dummy
Kconfig.gd7965
Kconfig.grove
Kconfig.ili9340
Kconfig.mcux_elcdif
Kconfig.microbit timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
Kconfig.sdl
Kconfig.ssd16xx
Kconfig.ssd1306
Kconfig.st7789v
display_dummy.c
display_framebuf.c
display_ili9340.c
display_ili9340.h
display_ili9340_adafruit_1480.c
display_ili9340_seeed_tftv2.c
display_mcux_elcdif.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
display_sdl.c
display_st7789v.c drivers: display: st7789v: add power management support 2020-05-09 13:07:17 +02:00
display_st7789v.h
gd7965.c
gd7965_regs.h
grove_lcd_rgb.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02: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
mb_font.h
ssd16xx.c drivers: ssd16xx: rework initialization of the controller memory 2020-05-08 15:11:10 +02:00
ssd16xx_regs.h
ssd1306.c
ssd1306_regs.h