From 5d421ff557fae63fe2add87ab67b3d7b0ef6559a Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Thu, 30 May 2024 11:55:10 +0300 Subject: 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 Link: https://lore.kernel.org/r/20240530085745.1539925-2-andy.shevchenko@gmail.com Signed-off-by: Linus Walleij --- drivers/pinctrl/berlin/berlin.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/pinctrl/berlin/berlin.h') 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, \ -- cgit