Skip to content

Commit

Permalink
Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"
Browse files Browse the repository at this point in the history
This reverts commit 8b2b3dc.

Commit 546c6d7 (pinctrl: digicolor: make it explicitly non-modular) removed
the platform_get_drvdata() call, so platform_set_drvdata() is no longer needed.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
baruchsiach authored and linusw committed Jun 23, 2016
1 parent 9385f35 commit 828d631
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pinctrl/pinctrl-digicolor.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,6 @@ static int dc_pinctrl_probe(struct platform_device *pdev)
return PTR_ERR(pmap->pctl);
}

platform_set_drvdata(pdev, pmap);

return dc_gpiochip_add(pmap, pdev->dev.of_node);
}

Expand Down

0 comments on commit 828d631

Please sign in to comment.