Skip to content

Commit e43c2fe

Browse files
author
Bartosz Golaszewski
committed
Merge tag 'intel-gpio-v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-current
intel-gpio for v6.9-1 * Fix returned code in the error path in Intel PMIC GPIO drivers The following is an automated git shortlog grouped by driver: crystalcove: - Use -ENOTSUPP consistently wcove: - Use -ENOTSUPP consistently
2 parents fec50db + ace0ebe commit e43c2fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/gpio/gpio-crystalcove.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static inline int to_reg(int gpio, enum ctrl_register reg_type)
9292
case 0x5e:
9393
return GPIOPANELCTL;
9494
default:
95-
return -EOPNOTSUPP;
95+
return -ENOTSUPP;
9696
}
9797
}
9898

drivers/gpio/gpio-wcove.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static inline int to_reg(int gpio, enum ctrl_register type)
104104
unsigned int reg = type == CTRL_IN ? GPIO_IN_CTRL_BASE : GPIO_OUT_CTRL_BASE;
105105

106106
if (gpio >= WCOVE_GPIO_NUM)
107-
return -EOPNOTSUPP;
107+
return -ENOTSUPP;
108108

109109
return reg + gpio;
110110
}

0 commit comments

Comments
 (0)