All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
@ 2020-05-09  2:29 Jay Fang
  2020-05-11 11:25 ` Mark Brown
  2020-05-11 17:21 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Jay Fang @ 2020-05-09  2:29 UTC (permalink / raw)
  To: linux-spi; +Cc: broonie, huangdaode, f.fangjian, linuxarm

Reduce unnecessary static memory allocation when CONFIG_ACPI is not enabled.

Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
 drivers/spi/spi-dw-mmio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c
index 384a3ab..ad26283 100644
--- a/drivers/spi/spi-dw-mmio.c
+++ b/drivers/spi/spi-dw-mmio.c
@@ -233,11 +233,13 @@ static const struct of_device_id dw_spi_mmio_of_match[] = {
 };
 MODULE_DEVICE_TABLE(of, dw_spi_mmio_of_match);
 
+#ifdef CONFIG_ACPI
 static const struct acpi_device_id dw_spi_mmio_acpi_match[] = {
 	{"HISI0173", 0},
 	{},
 };
 MODULE_DEVICE_TABLE(acpi, dw_spi_mmio_acpi_match);
+#endif
 
 static struct platform_driver dw_spi_mmio_driver = {
 	.probe		= dw_spi_mmio_probe,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
  2020-05-09  2:29 [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled Jay Fang
@ 2020-05-11 11:25 ` Mark Brown
  2020-05-11 17:21 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-05-11 11:25 UTC (permalink / raw)
  To: Jay Fang, linux-spi; +Cc: huangdaode, linuxarm

On Sat, 9 May 2020 10:29:51 +0800, Jay Fang wrote:
> Reduce unnecessary static memory allocation when CONFIG_ACPI is not enabled.

Applied to

   local tree asoc/for-5.7

Thanks!

[1/1] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
      (no commit info)

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
  2020-05-09  2:29 [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled Jay Fang
  2020-05-11 11:25 ` Mark Brown
@ 2020-05-11 17:21 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-05-11 17:21 UTC (permalink / raw)
  To: Jay Fang, linux-spi; +Cc: linuxarm, huangdaode

On Sat, 9 May 2020 10:29:51 +0800, Jay Fang wrote:
> Reduce unnecessary static memory allocation when CONFIG_ACPI is not enabled.

Applied to

   local tree spi/for-5.7

Thanks!

[1/1] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled
      (no commit info)

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-11 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09  2:29 [PATCH] spi: dw-mmio: Do not add acpi modalias when CONFIG_ACPI is not enabled Jay Fang
2020-05-11 11:25 ` Mark Brown
2020-05-11 17:21 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.