aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2022-12-02 14:52:41 -0800
committerDmitry Torokhov <[email protected]>2022-12-02 14:52:41 -0800
commit3d94887aca09b00be5af7c5491a7c6428ea39a85 (patch)
tree50c17c6c933ca39c870c1104914577783641f586 /include/linux
parenta5df8025f37a813f3f512ea3048ca505561b9c27 (diff)
parent662233731d66cf41e7494e532e702849c8ce18f3 (diff)
Merge branch 'i2c/client_device_id_helper-immutable' of https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux into next
Bring in i2c_client_get_device_id() helper in order to apply patches converting I2C input devices to probe_new().
Diffstat (limited to 'include/linux')
-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 */
/**