summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-equilibrium.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-30 11:55:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2024-06-17 09:23:43 +0200
commit18f5c202de46c754a9f65b566de3a2053ebf1fec (patch)
tree13c1b6a372b6b4da077491881d671336a463e523 /drivers/pinctrl/pinctrl-equilibrium.h
parent5d421ff557fae63fe2add87ab67b3d7b0ef6559a (diff)
pinctrl: equilibrium: Make use of struct pinfunction
Since pin control provides a generic data type for the pin function, use it in the driver. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20240530085745.1539925-3-andy.shevchenko@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-equilibrium.h')
-rw-r--r--drivers/pinctrl/pinctrl-equilibrium.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/pinctrl/pinctrl-equilibrium.h b/drivers/pinctrl/pinctrl-equilibrium.h
index 83768cc8b3db..b4d149bde39d 100644
--- a/drivers/pinctrl/pinctrl-equilibrium.h
+++ b/drivers/pinctrl/pinctrl-equilibrium.h
@@ -68,18 +68,6 @@ struct gpio_irq_type {
};
/**
- * struct eqbr_pmx_func: represent a pin function.
- * @name: name of the pin function, used to lookup the function.
- * @groups: one or more names of pin groups that provide this function.
- * @nr_groups: number of groups included in @groups.
- */
-struct eqbr_pmx_func {
- const char *name;
- const char **groups;
- unsigned int nr_groups;
-};
-
-/**
* struct eqbr_pin_bank: represent a pin bank.
* @membase: base address of the pin bank register.
* @id: bank id, to idenify the unique bank.