Skip to content

Commit 3e204d6

Browse files
geertudtor
authored andcommitted
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 <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/7091e8213602be64826fd689a7337246d218f3b1.1626255421.git.geert+renesas@glider.be Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 7ec7c72 commit 3e204d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/adc-keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static const struct of_device_id adc_keys_of_match[] = {
193193
MODULE_DEVICE_TABLE(of, adc_keys_of_match);
194194
#endif
195195

196-
static struct platform_driver __refdata adc_keys_driver = {
196+
static struct platform_driver adc_keys_driver = {
197197
.driver = {
198198
.name = "adc_keys",
199199
.of_match_table = of_match_ptr(adc_keys_of_match),

0 commit comments

Comments
 (0)