aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-latch.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-10-16 21:50:56 +0000
committersaturneric <[email protected]>2025-10-16 21:50:56 +0000
commit5293dcd7ffda472dbf326c81877bb63d2bfcbd10 (patch)
treeda3be05c4aa1646e5f26a84cd75d83fe866c5358 /drivers/gpio/gpio-latch.c
parentMerge tag 'v6.16' (diff)
parentLinux 6.17 (diff)
downloadkernel-5293dcd7ffda472dbf326c81877bb63d2bfcbd10.tar.gz
kernel-5293dcd7ffda472dbf326c81877bb63d2bfcbd10.zip
Merge tag 'v6.17'
Linux 6.17
Diffstat (limited to 'drivers/gpio/gpio-latch.c')
-rw-r--r--drivers/gpio/gpio-latch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-latch.c b/drivers/gpio/gpio-latch.c
index 3d0ff09284fb..c64aaa896766 100644
--- a/drivers/gpio/gpio-latch.c
+++ b/drivers/gpio/gpio-latch.c
@@ -166,11 +166,11 @@ static int gpio_latch_probe(struct platform_device *pdev)
if (gpio_latch_can_sleep(priv, n_latches)) {
priv->gc.can_sleep = true;
- priv->gc.set_rv = gpio_latch_set_can_sleep;
+ priv->gc.set = gpio_latch_set_can_sleep;
mutex_init(&priv->mutex);
} else {
priv->gc.can_sleep = false;
- priv->gc.set_rv = gpio_latch_set;
+ priv->gc.set = gpio_latch_set;
spin_lock_init(&priv->spinlock);
}