Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: adc-keys - drop bogus __refdata annotation

As the ADC ladder input driver does not have any code or data located in
initmem, there is no need to annotate the adc_keys_driver structure with
__refdata. Drop the annotation, to avoid suppressing future section
warnings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/7091e8213602be64826fd689a7337246d218f3b1.1626255421.git.geert+renesas@glider.be
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Geert Uytterhoeven and committed by
Dmitry Torokhov
3e204d6b 7ec7c72f

+1 -1
+1 -1
drivers/input/keyboard/adc-keys.c
··· 193 193 MODULE_DEVICE_TABLE(of, adc_keys_of_match); 194 194 #endif 195 195 196 - static struct platform_driver __refdata adc_keys_driver = { 196 + static struct platform_driver adc_keys_driver = { 197 197 .driver = { 198 198 .name = "adc_keys", 199 199 .of_match_table = of_match_ptr(adc_keys_of_match),