Commit b5ba78de76b0a39cfcf08dec78e90b737e995965
Committed by
Greg Kroah-Hartman
1 parent
aeca8ad1f0
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
gpio: remove use of __devinitconst
CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Grant Likely <grant.likely@secretlab.ca> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/gpio/gpio-adnp.c
... | ... | @@ -582,13 +582,13 @@ |
582 | 582 | return 0; |
583 | 583 | } |
584 | 584 | |
585 | -static const struct i2c_device_id adnp_i2c_id[] __devinitconst = { | |
585 | +static const struct i2c_device_id adnp_i2c_id[] = { | |
586 | 586 | { "gpio-adnp" }, |
587 | 587 | { }, |
588 | 588 | }; |
589 | 589 | MODULE_DEVICE_TABLE(i2c, adnp_i2c_id); |
590 | 590 | |
591 | -static const struct of_device_id adnp_of_match[] __devinitconst = { | |
591 | +static const struct of_device_id adnp_of_match[] = { | |
592 | 592 | { .compatible = "ad,gpio-adnp", }, |
593 | 593 | { }, |
594 | 594 | }; |