platform/x86: x86-android-tablets: Constify the gpiod_lookup_tables arrays
authorHans de Goede <hdegoede@redhat.com>
Mon, 10 Jan 2022 10:39:52 +0000 (11:39 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 24 Jan 2022 09:41:44 +0000 (10:41 +0100)
commit442bf564eb0c4577d98a77e87caa10f704dddcad
tree2d42de849e4ff57091096932fea4e21560f66ce6
parent84c2dcdd475f3f5d1d30c87404cafba4dd4b75ec
platform/x86: x86-android-tablets: Constify the gpiod_lookup_tables arrays

The individual gpiod_lookup_table structs cannot be const because they
contain a list-head which gets used when registering them.

But the array of pointers to the gpiod_lookup_table-s used by a board
can be const, constify these.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-By: Lubomir Rintel <lkundrak@V3.sk>
Link: https://lore.kernel.org/r/20220110103952.48760-3-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets.c