gpiolib: acpi: Add missing __init(const) markers to initcall-s
authorHans de Goede <hdegoede@redhat.com>
Wed, 25 Mar 2020 10:39:56 +0000 (11:39 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Apr 2020 07:34:03 +0000 (09:34 +0200)
commit04fd1ca77918a2395d0dc73c9a68436fdfaa26de
tree6f6efbc8ef07ecf9870c727e7277c673ca749d9d
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
gpiolib: acpi: Add missing __init(const) markers to initcall-s

The gpiolib ACPI code uses 2 initcall-s and the called function
(and used DMI table) is missing __init(const) markers.

This commit fixes this freeing up some extra memory once the kernel
has completed booting.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200325103956.109284-2-hdegoede@redhat.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c