forked from luck/tmp_suning_uos_patched
Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"
This reverts commit8b2b3dcb34
. Commit546c6d7930
(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:
parent
9385f35d64
commit
828d631783
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user