i2c: don't expose function which is only used internally
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 10 Feb 2022 21:33:41 +0000 (22:33 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 15 Feb 2022 08:58:57 +0000 (09:58 +0100)
commit481153991c410e322383490527c20b0c41dbf652
tree90d68250186dc6801d54d3e334823e93259c7744
parentf1bd6661946b20d1ea07de84a3c9a550e0367476
i2c: don't expose function which is only used internally

i2c_setup_smbus_alert() is only needed within the I2C core, so no need
to expose it to other modules.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-smbus.c
drivers/i2c/i2c-core.h
include/linux/i2c-smbus.h