xserver/hw/xfree86/os-support/linux
Daniel Martin cf1da0e797 Use ARRAY_SIZE all over the tree
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d5379b350f)
2021-02-20 17:39:29 -08:00
..
int10 int10: Fix error check for pci_device_map_legacy 2015-03-13 12:31:21 +10:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_apm.c Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c xfree86: Silence a new glibc warning 2017-09-25 15:54:20 -04:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c config: Replace OdevAttributes linked list with struct 2014-07-17 17:10:48 -07:00
lnx_video.c xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
Makefile.am xfree86/os-support/linux: Fix make distcheck 2015-07-16 12:32:38 -07:00
systemd-logind.c systemd-logind.c: don't parse VT settings for non-seat0 X servers 2015-12-08 11:54:11 -05:00