summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_isapnp.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-15 17:15:30 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-04-17 13:30:06 +0300
commit4f344e86c7396015e83f31c08aef2eb73838f338 (patch)
tree8723e7eea312f93e5cfcf33b2ba2fa83510e73b9 /drivers/ata/pata_isapnp.c
parent48ce805683461f0205e5b1baa2385a0cb425388e (diff)
downloadlinux-4f344e86c7396015e83f31c08aef2eb73838f338.tar.xz
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>
Diffstat (limited to 'drivers/ata/pata_isapnp.c')
0 files changed, 0 insertions, 0 deletions