summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-palmas.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-09-26 14:48:04 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-09-27 15:53:12 +0200
commit6090e9a6eaf0ecf38213f0cbaaa0b0147760432f (patch)
treee7f4f9c24ea6b6d4a92b772e5dfd7eddab269ce3 /drivers/pinctrl/pinctrl-palmas.c
parentpinctrl: adi2: Fix dead lock in adi_gpio_direction_output (diff)
downloadlinux-6090e9a6eaf0ecf38213f0cbaaa0b0147760432f.tar.xz
linux-6090e9a6eaf0ecf38213f0cbaaa0b0147760432f.zip
pinctrl: palmas: remove non-require function
Palmas pinmux and pin configuration support the single pin level configuration in place of pin group. Hence it is only require to pin_config_{set|get} and do not require pin_config_group_{set|get}. As core framework already check for require APIs availability, it is not require to implement as dummy for non-require ops and so removing it. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/pinctrl/pinctrl-palmas.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/pinctrl/pinctrl-palmas.c b/drivers/pinctrl/pinctrl-palmas.c
index 82638fac3cfa..e4d61fa4212c 100644
--- a/drivers/pinctrl/pinctrl-palmas.c
+++ b/drivers/pinctrl/pinctrl-palmas.c
@@ -961,26 +961,9 @@ static int palmas_pinconf_set(struct pinctrl_dev *pctldev,
return 0;
}
-static int palmas_pinconf_group_get(struct pinctrl_dev *pctldev,
- unsigned group, unsigned long *config)
-{
- dev_err(pctldev->dev, "palmas_pinconf_group_get op not supported\n");
- return -ENOTSUPP;
-}
-
-static int palmas_pinconf_group_set(struct pinctrl_dev *pctldev,
- unsigned group, unsigned long *configs,
- unsigned num_configs)
-{
- dev_err(pctldev->dev, "palmas_pinconf_group_set op not supported\n");
- return -ENOTSUPP;
-}
-
static const struct pinconf_ops palmas_pinconf_ops = {
.pin_config_get = palmas_pinconf_get,
.pin_config_set = palmas_pinconf_set,
- .pin_config_group_get = palmas_pinconf_group_get,
- .pin_config_group_set = palmas_pinconf_group_set,
};
static struct pinctrl_desc palmas_pinctrl_desc = {