gpio: vr41xx: Delete vr41xx_gpio_pullupdown() callback
This API is not used anywhere in the kernel and has remained unused for years after being introduced. Over time, we have developed a subsystem to deal with pin control and this now managed pull up/down. Delete the old and unused API. If this platform needs it, we should implement a proper pin controller for it instead. Cc: Yoichi Yuasa <yuasa@linux-mips.org> Cc: Ralf Baechle <ralf@linux-mips.org> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
这个提交包含在:
@@ -51,12 +51,4 @@ typedef enum {
|
||||
|
||||
extern void vr41xx_set_irq_level(unsigned int pin, irq_level_t level);
|
||||
|
||||
typedef enum {
|
||||
GPIO_PULL_DOWN,
|
||||
GPIO_PULL_UP,
|
||||
GPIO_PULL_DISABLE,
|
||||
} gpio_pull_t;
|
||||
|
||||
extern int vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull);
|
||||
|
||||
#endif /* __NEC_VR41XX_GIU_H */
|
||||
|
在新工单中引用
屏蔽一个用户