History

Merge tag 'gpio-v5.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio

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

Linus Torvalds committed 7 years ago

Commit 083f0f22 parents 3614692 48057ed3 files · +20 −42Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/gpio.h+0−24
@@ -241,30 +241,6 @@ static inline int irq_to_gpio(unsigned irq) · 240 unmodified lines
241241 return -EINVAL;
242242 }
243243
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−
268244 static inline int devm_gpio_request(struct device *dev, unsigned gpio,
269245 const char *label)
270246 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t