linux/drivers/staging
Rikard Falkeborn 56fb37efca staging: fieldbus: arcx-anybus: constify static structs
Constify two static structs which are never modified, to allow the
compiler to put them in read-only memory.

The only usage of controller_attribute_group is to put its address in an
array of pointers to const struct attribute_group, and the only usage of
can_power_ops is to assign its address to the 'ops' field in the
regulator_desc struct, which is a pointer to const struct regulator_ops.

Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210207202501.9494-1-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-08 15:22:34 +01:00
..
android driver: staging: count ashmem_range into SLAB_RECLAIMBLE 2020-12-28 15:06:06 +01:00
axis-fifo
board Revert "staging: board: Remove macro board_staging" 2021-01-04 15:55:40 +01:00
clocking-wizard staging: Replace HTTP links with HTTPS ones 2020-07-20 10:22:47 +02:00
comedi staging: comedi: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
emxx_udc staging: emxx_udc: Make incorrectly defined global static 2021-02-07 10:15:05 +01:00
fbtft
fieldbus staging: fieldbus: arcx-anybus: constify static structs 2021-02-08 15:22:34 +01:00
fsl-dpaa2 staging: fsl-dpaa2: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
fwserial staging: fwserial: Fix error handling in fwserial_create 2020-12-28 15:11:52 +01:00
gasket staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c 2020-11-13 15:35:14 +01:00
gdm724x staging: gdm724x: Clarify naming of packet_type<->tty index symbols 2020-10-26 06:53:10 +01:00
greybus staging: greybus: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
gs_fpgaboot staging: Replace HTTP links with HTTPS ones 2020-07-20 10:22:47 +02:00
hikey9xx staging: hikey9xx: hi6421-spmi-pmic: update copyright notes 2021-01-31 13:44:41 +01:00
iio staging: iio: adis16240: add blank line before struct definition 2020-10-26 06:53:09 +01:00
kpc2000 staging: kpc2000: kpc_dma: rename show function per convention 2020-10-27 12:23:59 +01:00
ks7010 staging: ks7010: fix missing destroy_workqueue() on error in ks7010_sdio_probe 2020-11-06 11:02:53 +01:00
media staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet 2021-01-25 10:34:50 +01:00
most staging: most: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
mt7621-dma staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c 2021-01-31 13:39:53 +01:00
mt7621-dts staging: mt7621-dts: remove obsolete switch node 2021-01-26 18:46:35 +01:00
mt7621-pci staging: mt7621-pci: remove 'RALINK_PCI_IMBASEBAR0_ADDR' register 2020-11-26 09:12:18 +01:00
netlogic staging: netlogic: clear alignment style issues 2020-08-02 12:47:37 +02:00
nvec staging: nvec: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
octeon staging: octeon: remove braces from single-line block 2021-02-07 10:05:29 +01:00
octeon-usb drivers: staging: octeon-usb: fixed codestyle check warning 2020-09-13 09:21:15 +02:00
olpc_dcon staging: olpc_dcon: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
pi433 staging: pi433: break long lines 2020-09-04 15:39:07 +02:00
qlge staging: qlge/qlge_main: Use min_t instead of min 2021-02-06 14:11:21 +01:00
ralink-gdma staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK 2020-11-06 11:12:49 +01:00
rtl8188eu staging: rtl8188eu: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
rtl8192e staging: rtl8192e: Switch from strlcpy to strscpy 2021-02-04 17:16:06 +01:00
rtl8192u staging: rtl8192u: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
rtl8712 staging: rtl8712: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
rtl8723bs staging: rtl8723bs: remove unused structures 2021-02-06 14:11:21 +01:00
rts5208 staging: rts5208: rtsx_transport.c: Fix lines ending with parentheses 2020-09-13 09:20:31 +02:00
sm750fb staging: sm750fb: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
unisys staging: unisys: visorhba: enhance visorhba to use channel_interrupt 2021-01-07 16:57:50 +01:00
vc04_services staging: bcm2835-audio: Replace unsafe strcpy() with strscpy() 2021-02-06 14:11:21 +01:00
vme
vt6655 staging: vt665x: fix alignment constraints 2021-02-06 14:11:21 +01:00
vt6656 staging: vt665x: fix alignment constraints 2021-02-06 14:11:21 +01:00
wfx Linux 5.10-rc5 2020-11-23 08:21:37 +01:00
wimax staging: wimax: Switch from strlcpy to strscpy 2021-02-04 17:16:07 +01:00
wlan-ng staging/wlan-ng: Fix line alignment 2020-11-06 10:57:46 +01:00
Kconfig Staging / IIO driver patches for 5.11-rc1 2020-12-15 14:18:40 -08:00
Makefile Staging / IIO driver patches for 5.11-rc1 2020-12-15 14:18:40 -08:00