Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3630709pxj; Tue, 11 May 2021 08:32:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWavCdscFSNlNytmvzAOBCzO7PiyLIjlbF/vnWUahXKFtDWI3mgEHidqEUEv25ODcT8L9l X-Received: by 2002:a2e:850d:: with SMTP id j13mr25553912lji.19.1620747160301; Tue, 11 May 2021 08:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620747160; cv=none; d=google.com; s=arc-20160816; b=oU2VncZJGagecrbU3LvGcI1gbkOFUkPO5gAlDtpidicEVH8RnRh0z/3sVeLzSHNZbl O4HV6GyiL2vh8byHJsrh03vIsmsxxJRL6GZBrsQ4HIRn22PXME/CkJr4A3gKBqvwxY5M ccrnkSwFjOi9rRCtxtvBoVzpZwxEKCX9EaOMakTFMlLGIGmjBtqngShqTNvhF61XALKk p4AIFKTLxhetgh3xz1tuiQ9JIvbIiWZ28+M2SvmPfNGUZRNX+aIvI5naNnMtPa/MNkWQ mIm39GUfKsX3IHoDnDgc9P6H0Cz5r7UpH8bHHEwI4gcUH9yx7WEzPVBQSDz8TBhFhjjC LJng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=05WccLg2E4eU2prVARpGIWayKY3q2KSZbF8ZDWF1tgA=; b=Vg6S32nT/l/7Pf/JGmn07u5bGrIAt0iqScgAcgZcMwWOzSJVHoFp3uXsPnZs4sgr/b IhMNDyzF4+bQQo7Lxa8s9nvpYb2GLz2woesnb6cHPVxInuf2k0Lli+2TEvAkVLjs9twL LzdxVlFG/85aFJW4O6/BXunSGHzqburyuF4hPOxtE9yk8/R1GvjLz1j+STB2k9L7XVck W7+ipDINQTtXJvr7vZ11PhnX45E5X7Tt8yBDZm7YVI2KsIYhPnhiC7V4eFMoRfko4U3q m1feo2bUHFGBoramYuqdPlXWKaQOmnhqup1rKzZywf8OcD9SA81B9v4APG57a3jkbu/0 Ze5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q16si19832878ljm.595.2021.05.11.08.32.08; Tue, 11 May 2021 08:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231779AbhEKPbk (ORCPT + 99 others); Tue, 11 May 2021 11:31:40 -0400 Received: from cmccmta2.chinamobile.com ([221.176.66.80]:25455 "EHLO cmccmta2.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231754AbhEKPbh (ORCPT ); Tue, 11 May 2021 11:31:37 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.7]) by rmmx-syy-dmz-app08-12008 (RichMail) with SMTP id 2ee8609aa306443-09d98; Tue, 11 May 2021 23:30:14 +0800 (CST) X-RM-TRANSID: 2ee8609aa306443-09d98 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[112.22.251.112]) by rmsmtp-syy-appsvr04-12004 (RichMail) with SMTP id 2ee4609aa30251e-f151c; Tue, 11 May 2021 23:30:14 +0800 (CST) X-RM-TRANSID: 2ee4609aa30251e-f151c From: Tang Bin To: Michael.Hennerich@analog.com, lars@metafoo.de, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Tang Bin , Zhang Shengju Subject: [PATCH] iio: adc: ad7768-1: Fix the right interrupt interface calls Date: Tue, 11 May 2021 23:31:08 +0800 Message-Id: <20210511153108.14816-1-tangbin@cmss.chinamobile.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the function ad7768_probe(), the devm_request_irq() should call ad7768_interrupt, not &ad7768_interrupt, so fix this mistake. Fixes: a5f8c7da3dbe ("iio: adc: Add AD7768-1 ADC basic support") Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- drivers/iio/adc/ad7768-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c index 0e93b0766..9c9ab56d6 100644 --- a/drivers/iio/adc/ad7768-1.c +++ b/drivers/iio/adc/ad7768-1.c @@ -605,7 +605,7 @@ static int ad7768_probe(struct spi_device *spi) init_completion(&st->completion); ret = devm_request_irq(&spi->dev, spi->irq, - &ad7768_interrupt, + ad7768_interrupt, IRQF_TRIGGER_RISING | IRQF_ONESHOT, indio_dev->name, indio_dev); if (ret) -- 2.20.1.windows.1