All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Make platform_get_irq[_byname]_optional() optional
@ 2022-02-12 20:16 Sergey Shtylyov
  2022-02-12 20:16   ` Sergey Shtylyov
  2022-02-12 20:16   ` Sergey Shtylyov
  0 siblings, 2 replies; 44+ messages in thread
From: Sergey Shtylyov @ 2022-02-12 20:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel; +Cc: Andy Shevchenko

Here are 2 patches making platform_get_irq[_byname]_optional() return 0 on
an IRQ not being found, thus aligning those with the other *_optional() APIs;
they are against the 'driver-core-next' branch of GregKH's 'driver-core.git'
repo plus the patch disallowing IRQ0 in platform_get_irq() and its ilk (which
happily applies to 'driver-core-next' as well):

https://lore.kernel.org/lkml/5e001ec1-d3f1-bcb8-7f30-a6301fd9930c@omp.ru/

Sergey Shtylyov (2):
  platform: make platform_get_irq_optional() optional
  platform: make platform_get_irq_byname_optional() optional

 drivers/base/platform.c                       | 77 +++++++++++++------
 drivers/char/ipmi/bt-bmc.c                    |  6 +-
 drivers/counter/interrupt-cnt.c               |  4 +-
 drivers/gpio/gpio-altera.c                    |  3 +-
 drivers/gpio/gpio-mvebu.c                     |  2 +-
 drivers/gpio/gpio-tqmx86.c                    |  2 +-
 drivers/gpu/drm/lima/lima_device.c            |  2 +-
 drivers/i2c/busses/i2c-brcmstb.c              |  8 +-
 drivers/i2c/busses/i2c-ocores.c               |  4 +-
 drivers/mailbox/tegra-hsp.c                   |  4 +-
 drivers/mmc/host/sh_mmcif.c                   |  4 +-
 drivers/mtd/nand/raw/brcmnand/brcmnand.c      |  4 +-
 drivers/net/can/rcar/rcar_canfd.c             |  4 +-
 drivers/net/dsa/b53/b53_srab.c                |  2 +-
 drivers/net/ethernet/davicom/dm9000.c         |  2 +-
 drivers/net/ethernet/freescale/fec_main.c     |  2 +-
 drivers/net/ethernet/freescale/fec_ptp.c      |  4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-stm32.c |  4 +-
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  4 +-
 .../pci/controller/dwc/pcie-designware-host.c |  2 +-
 drivers/phy/renesas/phy-rcar-gen3-usb2.c      |  4 +-
 drivers/platform/chrome/cros_ec_lpc.c         |  2 +-
 drivers/platform/x86/intel/punit_ipc.c        |  2 +-
 drivers/spi/spi-bcm-qspi.c                    |  2 +-
 drivers/spi/spi-hisi-sfc-v3xx.c               |  2 +-
 drivers/spi/spi-mtk-nor.c                     |  3 +-
 drivers/spi/spi-rspi.c                        |  8 +-
 drivers/thermal/rcar_gen3_thermal.c           |  2 +
 drivers/tty/serial/8250/8250_mtk.c            |  4 +-
 drivers/tty/serial/sh-sci.c                   |  6 +-
 drivers/uio/uio_pdrv_genirq.c                 |  2 +-
 drivers/usb/cdns3/cdns3-plat.c                |  5 +-
 drivers/usb/host/xhci-mtk.c                   |  2 +-
 drivers/usb/mtu3/mtu3_core.c                  |  2 +-
 drivers/vfio/platform/vfio_platform.c         |  3 +-
 sound/soc/dwc/dwc-i2s.c                       |  4 +-
 36 files changed, 111 insertions(+), 86 deletions(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2022-02-16  9:29 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-12 20:16 [PATCH v2 0/2] Make platform_get_irq[_byname]_optional() optional Sergey Shtylyov
2022-02-12 20:16 ` [PATCH v2 1/2] platform: make platform_get_irq_optional() optional Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov
2022-02-14  7:13   ` Uwe Kleine-König
2022-02-14  7:13     ` Uwe Kleine-König
2022-02-14  7:13     ` Uwe Kleine-König
2022-02-14  7:13     ` Uwe Kleine-König
2022-02-14  7:13     ` Uwe Kleine-König
2022-02-14  9:01     ` Geert Uytterhoeven
2022-02-14  9:01       ` Geert Uytterhoeven
2022-02-14  9:01       ` Geert Uytterhoeven
2022-02-14  9:01       ` Geert Uytterhoeven
2022-02-14  9:01       ` Geert Uytterhoeven
2022-02-14 14:00       ` Uwe Kleine-König
2022-02-14 14:00         ` Uwe Kleine-König
2022-02-14 14:00         ` Uwe Kleine-König
2022-02-14 14:00         ` Uwe Kleine-König
2022-02-14 14:00         ` Uwe Kleine-König
2022-02-14 10:13     ` Andy Shevchenko
2022-02-14 10:13       ` Andy Shevchenko
2022-02-14 10:13       ` Andy Shevchenko
2022-02-14 10:13       ` Andy Shevchenko
2022-02-14 10:13       ` Andy Shevchenko
2022-02-14 13:56       ` Uwe Kleine-König
2022-02-14 13:56         ` Uwe Kleine-König
2022-02-14 13:56         ` Uwe Kleine-König
2022-02-14 13:56         ` Uwe Kleine-König
2022-02-14 13:56         ` Uwe Kleine-König
2022-02-14  8:54   ` Geert Uytterhoeven
2022-02-14  8:54     ` Geert Uytterhoeven
2022-02-14  8:54     ` Geert Uytterhoeven
2022-02-14  8:54     ` Geert Uytterhoeven
2022-02-14  8:54     ` Geert Uytterhoeven
2022-02-14 10:43     ` Sergey Shtylyov
2022-02-14 10:43       ` Sergey Shtylyov
2022-02-14 10:43       ` Sergey Shtylyov
2022-02-14 10:43       ` Sergey Shtylyov
2022-02-14 10:43       ` Sergey Shtylyov
2022-02-12 20:16 ` [PATCH v2 2/2] platform: make platform_get_irq_byname_optional() optional Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov
2022-02-12 20:16   ` Sergey Shtylyov

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.