]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: tegra: Return const pointer from tegra_pinctrl_get_group()
authorPrathamesh Shete <pshete@nvidia.com>
Thu, 28 Oct 2021 12:02:35 +0000 (17:32 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Nov 2021 01:19:14 +0000 (02:19 +0100)
commit7e95199e592e09202756fc40cd98d903e5830fa5
tree9fa23ec6f91cf74b2c6d790655cd5311f89d4843
parentafe825c3a962351723662c2bef0989c14bccc2f9
pinctrl: tegra: Return const pointer from tegra_pinctrl_get_group()

Instead of returning const pointer from tegra_pinctrl_get_group()
the return value is being casted.

This change helps return const pointer.

Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/tegra/pinctrl-tegra.c