Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

staging: iio: adt7316: replace irqd_get_trigger_type with irq_get_trigger_type

Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more
simple irq_get_trigger_type(irq).

Signed-off-by: Feng Wei <feng.wei8@zte.com.cn>
Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn>
Link: https://patch.msgid.link/202503270957044481PK0Xb23i08BgwkodLtEC@zte.com.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Feng Wei and committed by
Jonathan Cameron
bb8d952a 0b2a4f55

+1 -1
+1 -1
drivers/staging/iio/addac/adt7316.c
··· 1794 1794 struct adt7316_chip_info *chip = iio_priv(indio_dev); 1795 1795 int irq_type, ret; 1796 1796 1797 - irq_type = irqd_get_trigger_type(irq_get_irq_data(chip->bus.irq)); 1797 + irq_type = irq_get_trigger_type(chip->bus.irq); 1798 1798 1799 1799 switch (irq_type) { 1800 1800 case IRQF_TRIGGER_HIGH: