Re: [PATCH] gpio: mb86s7x: remove some dead code in mb86s70_gpio_to_irq()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
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






[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux