[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZxkMSsBRhCa-foit@smile.fi.intel.com>
Date: Wed, 23 Oct 2024 17:46:34 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] gpio: mb86s7x: remove some dead code in
mb86s70_gpio_to_irq()
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@....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
Powered by blists - more mailing lists