Skip to content

Commit 8fd3f7b

Browse files
author
Bartosz Golaszewski
committed
Merge tag 'intel-gpio-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-next
intel-gpio for v6.2-1 * Miscellaneous updates to the core (cdev, acpi) and Intel Merrifield driver The following is an automated git shortlog grouped by driver: gpiolib: - cdev: Fix typo in kernel doc for struct line - acpi: Use METHOD_NAME__AEI macro for acpi_walk_resources merrifield: - Use str_enable_disable() helper
2 parents 24c9406 + 8d25984 commit 8fd3f7b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

drivers/gpio/gpio-merrifield.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <linux/module.h>
1515
#include <linux/pci.h>
1616
#include <linux/pinctrl/consumer.h>
17+
#include <linux/string_helpers.h>
1718

1819
#define GCCR 0x000 /* controller configuration */
1920
#define GPLR 0x004 /* pin level r/o */
@@ -331,7 +332,7 @@ static int mrfld_irq_set_wake(struct irq_data *d, unsigned int on)
331332

332333
raw_spin_unlock_irqrestore(&priv->lock, flags);
333334

334-
dev_dbg(priv->dev, "%sable wake for gpio %u\n", on ? "en" : "dis", gpio);
335+
dev_dbg(priv->dev, "%s wake for gpio %u\n", str_enable_disable(on), gpio);
335336
return 0;
336337
}
337338

drivers/gpio/gpiolib-acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ void acpi_gpiochip_request_interrupts(struct gpio_chip *chip)
536536
if (ACPI_FAILURE(status))
537537
return;
538538

539-
acpi_walk_resources(handle, "_AEI",
539+
acpi_walk_resources(handle, METHOD_NAME__AEI,
540540
acpi_gpiochip_alloc_event, acpi_gpio);
541541

542542
mutex_lock(&acpi_gpio_deferred_req_irqs_lock);

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)