diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-07-13 01:12:53 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-13 01:12:53 +0300 |
commit | fb2896a77989314ea89d89c3bdfee93002a760c9 (patch) | |
tree | 19df2cde875a69bcfe50296a2c9ae204ffdba0c1 /include/linux/i2c.h | |
parent | 0bff2a86103e7bec979df9b9ff66c823a8d82d0a (diff) | |
parent | 3f3a89e1d7c31558c070692241e3d6146d2cf1bf (diff) | |
download | linux-fb2896a77989314ea89d89c3bdfee93002a760c9.tar.xz |
Merge branch 'i2c/precise-locking-names_immutable' into i2c/for-4.19
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 465afb092fa7..24acd69c8874 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -759,18 +759,6 @@ i2c_unlock_bus(struct i2c_adapter *adapter, unsigned int flags) adapter->lock_ops->unlock_bus(adapter, flags); } -static inline void -i2c_lock_adapter(struct i2c_adapter *adapter) -{ - i2c_lock_bus(adapter, I2C_LOCK_ROOT_ADAPTER); -} - -static inline void -i2c_unlock_adapter(struct i2c_adapter *adapter) -{ - i2c_unlock_bus(adapter, I2C_LOCK_ROOT_ADAPTER); -} - /*flags for the client struct: */ #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ #define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ |