]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "gpio: mlxbf3: only get IRQ for device instance 0"
authorDavid Thompson <davthompson@nvidia.com>
Mon, 11 Aug 2025 17:50:44 +0000 (13:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:10 +0000 (16:28 +0200)
commitc1aa0743e54b52328207db0524d64357509f60cc
tree589b4182cddfd185de91f9cfe4316ebc52f641da
parenta157478521b3459768548cf06a997e3bf6e2d5d7
Revert "gpio: mlxbf3: only get IRQ for device instance 0"

commit 56bdf7270ff4f870e2d4bfacdc00161e766dba2d upstream.

This reverts commit 10af0273a35ab4513ca1546644b8c853044da134.

While this change was merged, it is not the preferred solution.
During review of a similar change to the gpio-mlxbf2 driver, the
use of "platform_get_irq_optional" was identified as the preferred
solution, so let's use it for gpio-mlxbf3 driver as well.

Cc: stable@vger.kernel.org
Fixes: 10af0273a35a ("gpio: mlxbf3: only get IRQ for device instance 0")
Signed-off-by: David Thompson <davthompson@nvidia.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/8d2b630c71b3742f2c74242cf7d602706a6108e6.1754928650.git.davthompson@nvidia.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-mlxbf3.c