[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240411153126.16201-30-axboe@kernel.dk>
Date: Thu, 11 Apr 2024 09:12:49 -0600
From: Jens Axboe <axboe@...nel.dk>
To: linux-kernel@...r.kernel.org
Cc: Jens Axboe <axboe@...nel.dk>
Subject: [PATCH 029/437] char/pc8736x_gpio: convert to read/write iterators
Signed-off-by: Jens Axboe <axboe@...nel.dk>
---
drivers/char/pc8736x_gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c
index c39a836ebd15..9ffd84788550 100644
--- a/drivers/char/pc8736x_gpio.c
+++ b/drivers/char/pc8736x_gpio.c
@@ -233,8 +233,8 @@ static int pc8736x_gpio_open(struct inode *inode, struct file *file)
static const struct file_operations pc8736x_gpio_fileops = {
.owner = THIS_MODULE,
.open = pc8736x_gpio_open,
- .write = nsc_gpio_write,
- .read = nsc_gpio_read,
+ .write_iter = nsc_gpio_write_iter,
+ .read_iter = nsc_gpio_read_iter,
.llseek = no_llseek,
};
--
2.43.0
Powered by blists - more mailing lists