]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: cdev: convert lineevent_create() and linereq_create() to FD_PREPARE()
authorKent Gibson <warthog618@gmail.com>
Mon, 16 Feb 2026 12:37:09 +0000 (20:37 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 23 Feb 2026 09:39:07 +0000 (10:39 +0100)
commit96c02c906a44bc280ef26e343126dd3349d8cae9
tree5523854173c4f7362569d5467db1029866473eb2
parent2c46f19c9adf7634d1eb4ce89a715ca3b0374134
gpio: cdev: convert lineevent_create() and linereq_create() to FD_PREPARE()

linehandle_create() was recently converted to use FD_PREPARE() to
simplify fd creation and cleanup logic.
Apply the equivalent conversion to lineevent_create() and
linereq_create().

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Link: https://patch.msgid.link/20260216123709.281444-1-warthog618@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpiolib-cdev.c