diff options
| author | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
| commit | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (patch) | |
| tree | d57f3a63479a07b4e0cece029886e76e04feb984 /include/linux/gpio/driver.h | |
| parent | 5dc63e56a9cf8df0b59c234a505a1653f1bdf885 (diff) | |
| parent | 53bea86b5712c7491bb3dae12e271666df0a308c (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.4 merge window.
Diffstat (limited to 'include/linux/gpio/driver.h')
| -rw-r--r-- | include/linux/gpio/driver.h | 21 | 
1 files changed, 1 insertions, 20 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 44783fc16125..ccd8a512d854 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -336,7 +336,7 @@ struct gpio_irq_chip {   * @set_multiple: assigns output values for multiple signals defined by "mask"   * @set_config: optional hook for all kinds of settings. Uses the same   *	packed config format as generic pinconf. - * @to_irq: optional hook supporting non-static gpio_to_irq() mappings; + * @to_irq: optional hook supporting non-static gpiod_to_irq() mappings;   *	implementation may not sleep   * @dbg_show: optional routine to show contents in debugfs; default code   *	will be used when this is omitted, but custom code can show extra @@ -504,13 +504,6 @@ struct gpio_chip {  	 */  	/** -	 * @of_node: -	 * -	 * Pointer to a device tree node representing this GPIO controller. -	 */ -	struct device_node *of_node; - -	/**  	 * @of_gpio_n_cells:  	 *  	 * Number of cells used to form the GPIO specifier. @@ -525,18 +518,6 @@ struct gpio_chip {  	 */  	int (*of_xlate)(struct gpio_chip *gc,  			const struct of_phandle_args *gpiospec, u32 *flags); - -	/** -	 * @of_gpio_ranges_fallback: -	 * -	 * Optional hook for the case that no gpio-ranges property is defined -	 * within the device tree node "np" (usually DT before introduction -	 * of gpio-ranges). So this callback is helpful to provide the -	 * necessary backward compatibility for the pin ranges. -	 */ -	int (*of_gpio_ranges_fallback)(struct gpio_chip *gc, -				       struct device_node *np); -  #endif /* CONFIG_OF_GPIO */  };  |