summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-11-24 11:20:26 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-11-24 11:20:26 +0300
commit06fa87fc9311bdb97902ce015dee1ef5015eba12 (patch)
tree282789376663ff478c55547dd6c196afa9353b1f /include
parent40059212f99c31f26c69763e560325e59eac02c6 (diff)
parent662233731d66cf41e7494e532e702849c8ce18f3 (diff)
downloadlinux-06fa87fc9311bdb97902ce015dee1ef5015eba12.tar.xz
Merge branch 'i2c/client_device_id_helper-immutable' of https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into gpio/for-next
Introduce the i2c_client_get_device_id() helper.
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index f7c49bbdb8a1..d84e0e99f084 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -189,6 +189,7 @@ s32 i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client,
u8 *values);
int i2c_get_device_id(const struct i2c_client *client,
struct i2c_device_identity *id);
+const struct i2c_device_id *i2c_client_get_device_id(const struct i2c_client *client);
#endif /* I2C */
/**