mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 10:43:43 +00:00
pinctrl: amd: Remove amd_pingroup and use pingroup
Remove 'struct amd_pingroup' and instead use 'struct pingroup'. Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220601152900.1012813-3-Basavaraj.Natikar@amd.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
003cbe0461
commit
8a962b08e1
@ -74,12 +74,6 @@
|
||||
|
||||
#define CLR_INTR_STAT 0x1UL
|
||||
|
||||
struct amd_pingroup {
|
||||
const char *name;
|
||||
const unsigned *pins;
|
||||
unsigned npins;
|
||||
};
|
||||
|
||||
struct amd_function {
|
||||
const char *name;
|
||||
const char * const *groups;
|
||||
@ -90,7 +84,7 @@ struct amd_gpio {
|
||||
raw_spinlock_t lock;
|
||||
void __iomem *base;
|
||||
|
||||
const struct amd_pingroup *groups;
|
||||
const struct pingroup *groups;
|
||||
u32 ngroups;
|
||||
struct pinctrl_dev *pctrl;
|
||||
struct gpio_chip gc;
|
||||
@ -296,7 +290,7 @@ static const unsigned i2c3_pins[] = {19, 20};
|
||||
static const unsigned uart0_pins[] = {135, 136, 137, 138, 139};
|
||||
static const unsigned uart1_pins[] = {140, 141, 142, 143, 144};
|
||||
|
||||
static const struct amd_pingroup kerncz_groups[] = {
|
||||
static const struct pingroup kerncz_groups[] = {
|
||||
{
|
||||
.name = "i2c0",
|
||||
.pins = i2c0_pins,
|
||||
|
Loading…
Reference in New Issue
Block a user