ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG
authorMichael Büsch <m@bues.ch>
Tue, 31 Jul 2018 20:15:09 +0000 (22:15 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 9 Aug 2018 15:47:47 +0000 (18:47 +0300)
commit209b43759d65b2cc99ce7757249aacc82b03c4e2
tree174ddf048de1dcaea4673e22f619bd93995b59be
parentb8b6069cf2087545fe53ec920e8353133e9a70bf
ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG

Use the standard WARN_ON instead.
If a small kernel is desired, WARN_ON can be disabled globally.

Also remove SSB_DEBUG. Besides WARN_ON it only adds a tiny debug check.
Include this check unconditionally.

Signed-off-by: Michael Buesch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
16 files changed:
arch/mips/configs/bcm47xx_defconfig
arch/powerpc/configs/wii_defconfig
drivers/ssb/Kconfig
drivers/ssb/driver_chipcommon.c
drivers/ssb/driver_chipcommon_pmu.c
drivers/ssb/driver_gpio.c
drivers/ssb/driver_pcicore.c
drivers/ssb/embedded.c
drivers/ssb/host_soc.c
drivers/ssb/main.c
drivers/ssb/pci.c
drivers/ssb/pcmcia.c
drivers/ssb/scan.c
drivers/ssb/sdio.c
drivers/ssb/ssb_private.h
include/linux/ssb/ssb.h