Skip to content

Commit 8d25984

Browse files
committed
gpiolib: cdev: Fix typo in kernel doc for struct line
When eflags has been renamed to the edflags, the kernel doc change were missed. Update kernel doc accordingly. Fixes: b1a92e9 ("gpiolib: cdev: consolidate edge detector configuration flags") Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Kent Gibson <[email protected]>
1 parent eac001b commit 8d25984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib-cdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ static int linehandle_create(struct gpio_device *gdev, void __user *ip)
410410
* @desc: the GPIO descriptor for this line.
411411
* @req: the corresponding line request
412412
* @irq: the interrupt triggered in response to events on this GPIO
413-
* @eflags: the edge flags, GPIO_V2_LINE_FLAG_EDGE_RISING and/or
413+
* @edflags: the edge flags, GPIO_V2_LINE_FLAG_EDGE_RISING and/or
414414
* GPIO_V2_LINE_FLAG_EDGE_FALLING, indicating the edge detection applied
415415
* @timestamp_ns: cache for the timestamp storing it between hardirq and
416416
* IRQ thread, used to bring the timestamp close to the actual event

0 commit comments

Comments
 (0)