mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
treewide: rename GPIO set callbacks back to their original names
The conversion of all GPIO drivers to using the .set_rv() and .set_multiple_rv() callbacks from struct gpio_chip (which - unlike their predecessors - return an integer and allow the controller drivers to indicate failures to users) is now complete and the legacy ones have been removed. Rename the new callbacks back to their original names in one sweeping change. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
@@ -150,7 +150,7 @@ static int mpfs_gpio_probe(struct platform_device *pdev)
|
||||
mpfs_gpio->gc.direction_output = mpfs_gpio_direction_output;
|
||||
mpfs_gpio->gc.get_direction = mpfs_gpio_get_direction;
|
||||
mpfs_gpio->gc.get = mpfs_gpio_get;
|
||||
mpfs_gpio->gc.set_rv = mpfs_gpio_set;
|
||||
mpfs_gpio->gc.set = mpfs_gpio_set;
|
||||
mpfs_gpio->gc.base = -1;
|
||||
mpfs_gpio->gc.ngpio = ngpios;
|
||||
mpfs_gpio->gc.label = dev_name(dev);
|
||||
|
||||
Reference in New Issue
Block a user