mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vasileios Amoiridis <vassilisamir@gmail.com>
To: linux@armlinux.org.uk, maarten.lankhorst@linux.intel.com,
	mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com,
	daniel@ffwll.ch, linus.walleij@linaro.org, alsi@bang-olufsen.dk,
	andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, nico@fluxnic.net,
	arend.vanspriel@broadcom.com, kvalo@kernel.org, robh@kernel.org,
	saravanak@google.com, andriy.shevchenko@linux.intel.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-wireless@vger.kernel.org, brcm80211@lists.linux.dev,
	brcm80211-dev-list.pdl@broadcom.com, devicetree@vger.kernel.org,
	vassilisamir@gmail.com
Subject: [PATCH v1 4/7] net: smc91x: Make use of irq_get_trigger_type()
Date: Tue,  3 Sep 2024 00:55:31 +0200	[thread overview]
Message-ID: <20240902225534.130383-5-vassilisamir@gmail.com> (raw)
In-Reply-To: <20240902225534.130383-1-vassilisamir@gmail.com>

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

Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
---
 drivers/net/ethernet/smsc/smc91x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c
index 907498848028..a5e23e2da90f 100644
--- a/drivers/net/ethernet/smsc/smc91x.c
+++ b/drivers/net/ethernet/smsc/smc91x.c
@@ -2355,7 +2355,7 @@ static int smc_drv_probe(struct platform_device *pdev)
 	 * the resource supplies a trigger, override the irqflags with
 	 * the trigger flags from the resource.
 	 */
-	irq_resflags = irqd_get_trigger_type(irq_get_irq_data(ndev->irq));
+	irq_resflags = irq_get_trigger_type(ndev->irq);
 	if (irq_flags == -1 || irq_resflags & IRQF_TRIGGER_MASK)
 		irq_flags = irq_resflags & IRQF_TRIGGER_MASK;
 
-- 
2.25.1


  parent reply	other threads:[~2024-09-02 22:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-02 22:55 [PATCH v1 0/7] Use functionality " Vasileios Amoiridis
2024-09-02 22:55 ` [PATCH v1 1/7] drm/i2c: tda998x: Make use " Vasileios Amoiridis
2024-09-02 22:55 ` [PATCH v1 2/7] net: dsa: realtek: rtl8365mb: " Vasileios Amoiridis
2024-09-02 23:38   ` Alvin Šipraga
2024-09-02 22:55 ` [PATCH v1 3/7] net: dsa: realtek: rtl8366rb: " Vasileios Amoiridis
2024-09-02 23:38   ` Alvin Šipraga
2024-09-05 11:39   ` Linus Walleij
2024-09-02 22:55 ` Vasileios Amoiridis [this message]
2024-09-02 22:55 ` [PATCH v1 5/7] wifi: brcmfmac: of: " Vasileios Amoiridis
2024-09-03 17:13   ` Kalle Valo
2024-09-02 22:55 ` [PATCH v1 6/7] wifi: wlcore: sdio: " Vasileios Amoiridis
2024-09-03 14:45   ` Andy Shevchenko
2024-09-04 14:53     ` Vasileios Amoiridis
2024-09-02 22:55 ` [PATCH v1 7/7] of/irq: " Vasileios Amoiridis
2024-09-03  7:09   ` Krzysztof Kozlowski
2024-09-03 14:39   ` Rob Herring (Arm)
2024-09-03 14:58     ` Andy Shevchenko
2024-09-03 18:59       ` Rob Herring
2024-09-03 14:48   ` Andy Shevchenko
2024-09-03  0:22 ` [PATCH v1 0/7] Use functionality " Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240902225534.130383-5-vassilisamir@gmail.com \
    --to=vassilisamir@gmail.com \
    --cc=airlied@gmail.com \
    --cc=alsi@bang-olufsen.dk \
    --cc=andrew@lunn.ch \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arend.vanspriel@broadcom.com \
    --cc=brcm80211-dev-list.pdl@broadcom.com \
    --cc=brcm80211@lists.linux.dev \
    --cc=daniel@ffwll.ch \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kvalo@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nico@fluxnic.net \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=saravanak@google.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®