aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/berlin/berlin.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-30 11:55:10 +0300
committerLinus Walleij <linus.walleij@linaro.org>2024-06-17 09:23:34 +0200
commit5d421ff557fae63fe2add87ab67b3d7b0ef6559a (patch)
tree1ccf87d27bbba21475b11093dcfaf9c71e3b4bc1 /drivers/pinctrl/berlin/berlin.h
parenta8f2548548584549ea29d43431781d67c4afa42b (diff)
pinctrl: berlin: 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-2-andy.shevchenko@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/berlin/berlin.h')
-rw-r--r--drivers/pinctrl/berlin/berlin.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/berlin/berlin.h b/drivers/pinctrl/berlin/berlin.h
index d7787754d1ed..231aab61d415 100644
--- a/drivers/pinctrl/berlin/berlin.h
+++ b/drivers/pinctrl/berlin/berlin.h
@@ -28,12 +28,6 @@ struct berlin_pinctrl_desc {
unsigned ngroups;
};
-struct berlin_pinctrl_function {
- const char *name;
- const char **groups;
- unsigned ngroups;
-};
-
#define BERLIN_PINCTRL_GROUP(_name, _offset, _width, _lsb, ...) \
{ \
.name = _name, \