summaryrefslogtreecommitdiffstats
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2018-01-10 16:32:10 +0100
committerMarcel Holtmann <marcel@holtmann.org>2018-01-10 19:00:12 +0100
commit6d83f1ee88a47d81f29d3aa4d17ad68d73473d40 (patch)
treedcf0091e00141de2d11afd7c443672ef62bc7911 /crypto/lz4hc.c
parent4a59f1fab91e9445e34c69d8e4401a0d6bdbe914 (diff)
downloadblackbird-obmc-linux-6d83f1ee88a47d81f29d3aa4d17ad68d73473d40.tar.gz
blackbird-obmc-linux-6d83f1ee88a47d81f29d3aa4d17ad68d73473d40.zip
Bluetooth: hci_bcm: Clean up unnecessary #ifdef
pm_runtime_disable() and pm_runtime_set_suspended() are replaced with empty inlines if CONFIG_PM is disabled, so there's no need to #ifdef them. device_init_wakeup() is likewise replaced with an inline, though it's not empty, but it and devm_free_irq() can be made conditional on IS_ENABLED(CONFIG_PM), which is preferable to #ifdef as per section 20 of Documentation/process/coding-style.rst. Cc: Frédéric Danis <frederic.danis.oss@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud