From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] gpio: mb86s7x: remove some dead code in mb86s70_gpio_to_irq()
Date: Wed, 23 Oct 2024 17:46:34 +0300 [thread overview]
Message-ID: <ZxkMSsBRhCa-foit@smile.fi.intel.com> (raw)
In-Reply-To: <b7f3a78b-7163-42a0-bd09-8b3184f29661@stanley.mountain>
On Wed, Oct 23, 2024 at 11:35:53AM +0300, Dan Carpenter wrote:
...
> I have written more about the history of platform_get_irq() on my blog:
> https://staticthinking.wordpress.com/2023/08/07/writing-a-check-for-zero-irq-error-codes/
FWIW, this patch (see https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git)
commit e13724956849975ef40cbc9898643f3074a1ed8a
Author: Russell King <rmk@arm.linux.org.uk>
Date: Tue Jun 8 02:28:02 2004 -0700
[PATCH] Add platform_get_resource()
This patch adds management of platform device resources to the
device model, allowing drivers to lookup resources, IRQs and DMA
numbers in the platform device resource array. We also add a
couple of functions which allow platform devices and their resources
to be registered.
added it.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-10-23 14:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 8:35 [PATCH] gpio: mb86s7x: remove some dead code in mb86s70_gpio_to_irq() Dan Carpenter
2024-10-23 14:38 ` Andy Shevchenko
2024-10-23 14:46 ` Andy Shevchenko [this message]
2024-10-24 8:38 ` Bartosz Golaszewski
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=ZxkMSsBRhCa-foit@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=brgl@bgdev.pl \
--cc=dan.carpenter@linaro.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.