[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6660750.UgobAMfxrE@kreacher>
Date: Fri, 05 Mar 2021 19:28:30 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: linux-i2c@...r.kernel.org
Cc: Wolfram Sang <wsa@...nel.org>,
Linux ACPI <linux-acpi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] i2c: i2c-scmi: Drop unused ACPI_MODULE_NAME definition
From: Rafael J. Wysocki <rafael.j.wysocki@...el.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@...el.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;
Powered by blists - more mailing lists