Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"

This reverts commit 8b2b3dcb34.

Commit 546c6d7930 (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>
This commit is contained in:
Baruch Siach 2016-06-18 23:01:06 +03:00 committed by Linus Walleij
parent 9385f35d64
commit 828d631783

View File

@ -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);
}