mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omp.ru>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH 0/2] Make platform_get_irq[_byname]_optional() optional
Date: Mon, 10 Jan 2022 22:54:47 +0300	[thread overview]
Message-ID: <20220110195449.12448-1-s.shtylyov@omp.ru> (raw)

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

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

That patch was against the 'driver-core-linus' branch, so had to do these 2
against that branch as well; tell me if I should rebase to 'driver-core-next'.

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

 drivers/base/platform.c                       | 69 ++++++++++++-------
 drivers/char/ipmi/bt-bmc.c                    |  8 ++-
 drivers/counter/interrupt-cnt.c               |  4 +-
 drivers/edac/xgene_edac.c                     |  2 +-
 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/power/supply/mp2629_charger.c         |  4 +-
 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         |  6 +-
 sound/soc/dwc/dwc-i2s.c                       |  4 +-
 38 files changed, 110 insertions(+), 90 deletions(-)

-- 
2.26.3


             reply	other threads:[~2022-01-10 19:54 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 19:54 Sergey Shtylyov [this message]
2022-01-10 19:54 ` [PATCH 1/2] platform: make platform_get_irq_optional() optional Sergey Shtylyov
2022-01-10 20:10   ` Uwe Kleine-König
2022-01-10 21:07     ` Andy Shevchenko
2022-01-10 21:44       ` Uwe Kleine-König
2022-01-10 21:18     ` Andrew Lunn
2022-01-12  8:33       ` Geert Uytterhoeven
2022-01-12  8:50         ` Uwe Kleine-König
2022-01-12 10:27           ` Geert Uytterhoeven
2022-01-12 12:27             ` Andy Shevchenko
2022-01-12 13:38             ` Andrew Lunn
2022-01-12 13:51               ` Andy Shevchenko
2022-01-12 13:54               ` Geert Uytterhoeven
2022-01-12 14:41                 ` Rafael J. Wysocki
2022-01-12 15:05                   ` Sergey Shtylyov
2022-01-12 15:13                     ` Hans de Goede
2022-01-12 15:48                       ` Rafael J. Wysocki
2022-01-12 16:21                   ` Andy Shevchenko
2022-01-12 21:31             ` Uwe Kleine-König
2022-01-12 21:45               ` Mark Brown
2022-01-13 11:08                 ` Uwe Kleine-König
2022-01-13 14:45                   ` Mark Brown
2022-01-13 19:43                     ` [PATCH] driver core: platform: Rename platform_get_irq_optional() to platform_get_irq_silent() Uwe Kleine-König
2022-01-13 20:17                       ` Mark Brown
2022-01-13 20:57                         ` Sergey Shtylyov
2022-01-13 22:43                           ` Uwe Kleine-König
2022-01-14  9:58                             ` Geert Uytterhoeven
2022-01-15 15:21                               ` Uwe Kleine-König
2022-01-15 21:06                                 ` Sergey Shtylyov
2022-01-14 11:34                           ` Sergey Shtylyov
2022-01-13 20:31                       ` Guenter Roeck
2022-01-13 21:42                       ` Florian Fainelli
2022-01-13 23:06                         ` Uwe Kleine-König
2022-01-14 17:55                         ` Sergey Shtylyov
2022-01-15 13:55                           ` Uwe Kleine-König
2022-01-19 18:36                             ` Andy Shevchenko
2022-01-19 19:44                               ` Sergey Shtylyov
2022-01-19 18:40                             ` Andy Shevchenko
2022-01-14  6:57                       ` Peter Korsgaard
2022-01-14 13:04                       ` Andy Shevchenko
2022-01-15 15:45                         ` Uwe Kleine-König
2022-01-19 18:51                           ` Andy Shevchenko
2022-01-19 19:47                             ` Sergey Shtylyov
2022-01-19 20:55                               ` Andy Shevchenko
2022-01-20  7:57                             ` Uwe Kleine-König
2022-01-24 15:01                               ` Andy Shevchenko
2022-01-24 21:02                                 ` Sergey Shtylyov
2022-01-25  8:25                                   ` Geert Uytterhoeven
2022-01-25 12:56                                     ` Matthias Schiffer
2022-01-25 14:01                                       ` Andy Shevchenko
2022-01-14 19:45                       ` Sergey Shtylyov
2022-01-14 20:29                         ` Uwe Kleine-König
2022-01-15 13:08                           ` Sergey Shtylyov
2022-01-19 18:52                         ` Andy Shevchenko
2022-01-13 20:35                 ` [PATCH 1/2] platform: make platform_get_irq_optional() optional Sergey Shtylyov
2022-01-14  9:25                   ` Uwe Kleine-König
2022-01-14  9:39                     ` Geert Uytterhoeven
2022-01-14 19:14                     ` Sergey Shtylyov
2022-01-14 20:22                       ` Uwe Kleine-König
2022-01-15 20:22                         ` Sergey Shtylyov
2022-01-17  8:41                           ` Geert Uytterhoeven
2022-01-17  9:24                             ` Uwe Kleine-König
2022-01-17 10:35                               ` Geert Uytterhoeven
2022-01-17 11:49                                 ` Uwe Kleine-König
2022-01-17 13:08                                   ` Geert Uytterhoeven
2022-01-17 17:06                                     ` Uwe Kleine-König
2022-01-18  8:25                                       ` Geert Uytterhoeven
2022-01-18  9:09                                         ` Uwe Kleine-König
2022-01-18  9:37                                           ` Geert Uytterhoeven
2022-01-18 12:08                                             ` Uwe Kleine-König
2022-01-18 12:49                                               ` Geert Uytterhoeven
2022-01-18 14:29                                                 ` Uwe Kleine-König
2022-01-19 16:12                                                   ` Sergey Shtylyov
2022-01-19 18:29                                                     ` Sergey Shtylyov
2022-01-20 11:27                                     ` Sergey Shtylyov
2022-01-16 18:15                         ` Sergey Shtylyov
2022-01-17  8:47                           ` Uwe Kleine-König
2022-01-18 20:21                             ` Sergey Shtylyov
2022-01-18 22:26                               ` Uwe Kleine-König
2022-01-19 15:34                                 ` Sergey Shtylyov
2022-01-19 18:58                             ` Andy Shevchenko
2022-01-19 19:49                               ` Sergey Shtylyov
2022-01-14 18:46                   ` Sergey Shtylyov
2022-01-15 18:36   ` [PATCH 1/2] platform: make platform_get_irq_optional() optional (summary) Uwe Kleine-König
2022-01-16 14:19     ` Greg Kroah-Hartman
2022-01-18  9:18       ` Uwe Kleine-König
2022-01-18  9:32         ` Greg Kroah-Hartman
2022-01-19 10:56         ` Sergey Shtylyov
2022-01-19 11:33           ` Uwe Kleine-König
2022-01-19 11:42             ` Sergey Shtylyov
2022-01-19 19:06     ` Andy Shevchenko
2022-01-17 11:57   ` [PATCH 1/2] platform: make platform_get_irq_optional() optional Sergey Shtylyov
2022-01-19 15:02     ` Uwe Kleine-König
2022-01-19 15:50       ` Sergey Shtylyov
2022-01-10 19:54 ` [PATCH 2/2] platform: make platform_get_irq_byname_optional() optional Sergey Shtylyov

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=20220110195449.12448-1-s.shtylyov@omp.ru \
    --to=s.shtylyov@omp.ru \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@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 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®