diff mbox series

[2/2] i2c: do not export i2c_of_match_device() symbol

Message ID 20200826042938.3259-2-sergey.senozhatsky@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [1/2] i2c: consider devices with of_match_table during i2c device probing | expand

Commit Message

Sergey Senozhatsky Aug. 26, 2020, 4:29 a.m. UTC
Do not export i2c_of_match_device().

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
 drivers/i2c/i2c-core-of.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/i2c/i2c-core-of.c b/drivers/i2c/i2c-core-of.c
index 3ed74aa4b44b..77faa9cc05c9 100644
--- a/drivers/i2c/i2c-core-of.c
+++ b/drivers/i2c/i2c-core-of.c
@@ -223,7 +223,6 @@  const struct of_device_id
 
 	return i2c_of_match_device_sysfs(matches, client);
 }
-EXPORT_SYMBOL_GPL(i2c_of_match_device);
 
 #if IS_ENABLED(CONFIG_OF_DYNAMIC)
 static int of_i2c_notify(struct notifier_block *nb, unsigned long action,