gpio: dwapb: Drop redundant check in dwapb_irq_set_type()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 1 Jun 2021 16:21:27 +0000 (19:21 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 2 Jun 2021 13:34:21 +0000 (15:34 +0200)
commit5a5bc826fed1d86212eb78114c86808c29b11b0a
tree34a953fc2d6ce7b20911c5d19baa94d4fab51932
parentcc0f53d2bb422b555d76c1258dbe9aec9b1f416b
gpio: dwapb: Drop redundant check in dwapb_irq_set_type()

For more than 15 years we may not get into ->irq_set_type()
without any meaningful type provided.

Drop redundant check in dwapb_irq_set_type().

See the commit e76de9f8eb67 ("[PATCH] genirq: add SA_TRIGGER support")
out of curiosity.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-dwapb.c