Pull GPIO fixes from Linus Walleij: "Here is a (hopefully last) set of GPIO fixes for the v5.3 kernel cycle. Two are pretty core: - Fix not reporting open drain/source lines to userspace as "input" - Fix a minor build error found in randconfigs - Fix a chip select quirk on the Freescale SPI - Fix the irqchip initialization semantic order to reflect what it was using the old API" * tag 'gpio-v5.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: gpio: Fix irqchip initialization order gpio: of: fix Freescale SPI CS quirk handling gpio: Fix build error of function redefinition gpiolib: never report open-drain/source lines as 'input' to user-space
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -241,30 +241,6 @@ static inline int irq_to_gpio(unsigned irq) · 240 unmodified lines | ||
| 241 | 241 | return -EINVAL; |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | −static inline int | |
| 245 | −gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, | |
| 246 | − unsigned int gpio_offset, unsigned int pin_offset, | |
| 247 | − unsigned int npins) | |
| 248 | −{ | |
| 249 | − WARN_ON(1); | |
| 250 | − return -EINVAL; | |
| 251 | −} | |
| 252 | − | |
| 253 | −static inline int | |
| 254 | −gpiochip_add_pingroup_range(struct gpio_chip *chip, | |
| 255 | − struct pinctrl_dev *pctldev, | |
| 256 | − unsigned int gpio_offset, const char *pin_group) | |
| 257 | −{ | |
| 258 | − WARN_ON(1); | |
| 259 | − return -EINVAL; | |
| 260 | −} | |
| 261 | − | |
| 262 | −static inline void | |
| 263 | −gpiochip_remove_pin_ranges(struct gpio_chip *chip) | |
| 264 | −{ | |
| 265 | − WARN_ON(1); | |
| 266 | −} | |
| 267 | − | |
| 268 | 244 | static inline int devm_gpio_request(struct device *dev, unsigned gpio, |
| 269 | 245 | const char *label) |
| 270 | 246 | { |