| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * Helpers for controlling modem lines via GPIO |
|---|
| 4 | 4 | * |
|---|
| .. | .. |
|---|
| 114 | 114 | struct gpio_desc *mctrl_gpio_to_gpiod(struct mctrl_gpios *gpios, |
|---|
| 115 | 115 | enum mctrl_gpio_idx gidx) |
|---|
| 116 | 116 | { |
|---|
| 117 | | - return ERR_PTR(-ENOSYS); |
|---|
| 117 | + return NULL; |
|---|
| 118 | 118 | } |
|---|
| 119 | 119 | |
|---|
| 120 | 120 | static inline |
|---|
| 121 | 121 | struct mctrl_gpios *mctrl_gpio_init(struct uart_port *port, unsigned int idx) |
|---|
| 122 | 122 | { |
|---|
| 123 | | - return ERR_PTR(-ENOSYS); |
|---|
| 123 | + return NULL; |
|---|
| 124 | 124 | } |
|---|
| 125 | 125 | |
|---|
| 126 | 126 | static inline |
|---|
| 127 | 127 | struct mctrl_gpios *mctrl_gpio_init_noauto(struct device *dev, unsigned int idx) |
|---|
| 128 | 128 | { |
|---|
| 129 | | - return ERR_PTR(-ENOSYS); |
|---|
| 129 | + return NULL; |
|---|
| 130 | 130 | } |
|---|
| 131 | 131 | |
|---|
| 132 | 132 | static inline |
|---|