All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: i2c-scmi: Drop unused ACPI_MODULE_NAME definition
@ 2021-03-05 18:28 Rafael J. Wysocki
  2021-03-10 14:47 ` Rafael J. Wysocki
  2021-03-18 11:12 ` Wolfram Sang
  0 siblings, 2 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2021-03-05 18:28 UTC (permalink / raw)
  To: linux-i2c; +Cc: Wolfram Sang, Linux ACPI, LKML

From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

The ACPI_MODULE_NAME() definition is only used by the message
printing macros from ACPICA that are not used by the code in
question, so it is redundant.  Drop it.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 drivers/i2c/busses/i2c-scmi.c |    2 --
 1 file changed, 2 deletions(-)

Index: linux-pm/drivers/i2c/busses/i2c-scmi.c
===================================================================
--- linux-pm.orig/drivers/i2c/busses/i2c-scmi.c
+++ linux-pm/drivers/i2c/busses/i2c-scmi.c
@@ -18,8 +18,6 @@
 /* SMBUS HID definition as supported by Microsoft Windows */
 #define ACPI_SMBUS_MS_HID		"SMB0001"
 
-ACPI_MODULE_NAME("smbus_cmi");
-
 struct smbus_methods_t {
 	char *mt_info;
 	char *mt_sbr;




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

end of thread, other threads:[~2021-03-18 11:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 18:28 [PATCH] i2c: i2c-scmi: Drop unused ACPI_MODULE_NAME definition Rafael J. Wysocki
2021-03-10 14:47 ` Rafael J. Wysocki
2021-03-10 16:08   ` Wolfram Sang
2021-03-10 16:50     ` Rafael J. Wysocki
2021-03-18 11:12 ` Wolfram Sang

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.