Andy Shevchenko 4f344e86c7 gpio: dwapb: Drop bogus BUG_ON()s
There is no case when no context is provided in the ->suspend() and
->resume() hooks. Moreover, BUG_ON() is harmful to user and makes kernel
inoperable after the crash. Drop the BUG_ON()s for good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20200415141534.31240-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-04-17 12:30:06 +02:00
..
2020-01-23 16:16:05 +01:00
2019-11-07 09:27:48 +01:00
2020-04-17 12:30:06 +02:00
2019-11-07 09:27:48 +01:00
2018-05-16 14:35:24 +02:00
2020-01-15 11:24:19 +01:00
2019-11-07 09:27:48 +01:00
2019-09-03 16:04:19 +02:00
2020-02-20 15:41:05 +01:00
2020-01-17 08:59:29 +01:00
2019-11-07 09:27:48 +01:00
2020-01-17 08:59:29 +01:00
2019-07-23 18:59:05 +03:00
2020-02-20 09:18:54 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2020-01-15 13:45:01 +01:00
2019-11-07 09:27:48 +01:00
2018-01-09 14:51:00 +01:00
2019-11-07 09:27:48 +01:00
2019-12-09 10:40:18 +01:00
2020-01-09 03:01:33 +01:00