OSDN Git Service

spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
authorJay Fang <f.fangjian@huawei.com>
Sat, 9 May 2020 02:29:51 +0000 (10:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2020 17:17:54 +0000 (18:17 +0100)
commit4dd227a55a9f88618b227eda407d58826bbf4df1
tree586cba2e877a29843199eea2876037a104b38947
parent74750e0621cdcee53a7be72142a080bf40ed90c8
spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled

Reduce unnecessary static memory allocation when CONFIG_ACPI is not enabled.

Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1588991392-24219-1-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mmio.c