aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Neumann2021-02-01 18:51:38 +0100
committerWolfram Sang2021-02-01 23:01:50 +0100
commit622fa41b496d5d15247727cbfc5d000f36755bbc (patch)
tree8473b190f29db81cd1a601ed88b2bac01f830b83
parent267e82b9592d0d97f732d65a63db12b0e0d73bd4 (diff)
i2c: amd-mp2: Remove unused macro
Remove unused work_amd_i2c_common() macro. Signed-off-by: Richard Neumann <mail@richard-neumann.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
-rw-r--r--drivers/i2c/busses/i2c-amd-mp2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-amd-mp2.h b/drivers/i2c/busses/i2c-amd-mp2.h
index 6b91e285745d..ddecd0c88656 100644
--- a/drivers/i2c/busses/i2c-amd-mp2.h
+++ b/drivers/i2c/busses/i2c-amd-mp2.h
@@ -185,9 +185,6 @@ struct amd_mp2_dev {
unsigned int probed;
};
-#define work_amd_i2c_common(__work) \
- container_of(__work, struct amd_i2c_common, work.work)
-
/* PCIe communication driver */
int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd);