diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-08-31 17:31:30 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-15 14:08:00 +0200 |
commit | f6ed2b79dc67e9211bb6488938247b9979eece79 (patch) | |
tree | 69e0e1ff14c881a677bceca1c6f8e803c0bbd579 /drivers/i2c/busses/i2c-designware-core.c | |
parent | b9f84adcb834ec2b1fd0ec91676c4b165daf51e6 (diff) | |
download | op-kernel-dev-f6ed2b79dc67e9211bb6488938247b9979eece79.zip op-kernel-dev-f6ed2b79dc67e9211bb6488938247b9979eece79.tar.gz |
i2c: designware: Remove unused functions
i2c_dw_is_enabled() became unused by the commit be58eda775c8
("i2c: designware-pci: Cleanup driver power management") and
i2c_dw_enable() by the commit 3a48d1c08fe0 ("i2c: prevent spurious
interrupt on Designware controllers").
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.c')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-core.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.c b/drivers/i2c/busses/i2c-designware-core.c index dec0af7..c9e93a7 100644 --- a/drivers/i2c/busses/i2c-designware-core.c +++ b/drivers/i2c/busses/i2c-designware-core.c @@ -815,19 +815,6 @@ tx_aborted: } EXPORT_SYMBOL_GPL(i2c_dw_isr); -void i2c_dw_enable(struct dw_i2c_dev *dev) -{ - /* Enable the adapter */ - __i2c_dw_enable(dev, true); -} -EXPORT_SYMBOL_GPL(i2c_dw_enable); - -u32 i2c_dw_is_enabled(struct dw_i2c_dev *dev) -{ - return dw_readl(dev, DW_IC_ENABLE); -} -EXPORT_SYMBOL_GPL(i2c_dw_is_enabled); - void i2c_dw_disable(struct dw_i2c_dev *dev) { /* Disable controller */ |