mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
extcon: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: MyungJoo Ham <myungjoo.ham@samsung.com> Cc: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
93ed032780
commit
44f34fd4a7
5 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ static ssize_t extcon_gpio_print_state(struct extcon_dev *edev, char *buf)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
static int __devinit gpio_extcon_probe(struct platform_device *pdev)
|
||||
static int gpio_extcon_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct gpio_extcon_platform_data *pdata = pdev->dev.platform_data;
|
||||
struct gpio_extcon_data *extcon_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue