summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-at91.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-21 12:36:34 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-03-27 16:09:53 +0300
commit265bd824e17f4d390c4c05a791bc79b745a565b2 (patch)
tree9409c907932d55c709e813036ebbc20140d20f5c /drivers/i2c/busses/i2c-at91.h
parent529766e0a0114438887382a68d97341fbf8349fb (diff)
downloadlinux-265bd824e17f4d390c4c05a791bc79b745a565b2.tar.xz
i2c: at91: Convert to use struct i2c_timings
Instead of using custom variables and parser, convert the driver to use the ones provided by I2C core. No functional change intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-at91.h')
-rw-r--r--drivers/i2c/busses/i2c-at91.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-at91.h b/drivers/i2c/busses/i2c-at91.h
index be0e7afda529..499b506f6128 100644
--- a/drivers/i2c/busses/i2c-at91.h
+++ b/drivers/i2c/busses/i2c-at91.h
@@ -21,7 +21,6 @@
#include <linux/platform_data/dma-atmel.h>
#include <linux/platform_device.h>
-#define DEFAULT_TWI_CLK_HZ 100000 /* max 400 Kbits/s */
#define AT91_I2C_TIMEOUT msecs_to_jiffies(100) /* transfer timeout */
#define AT91_I2C_DMA_THRESHOLD 8 /* enable DMA if transfer size is bigger than this threshold */
#define AUTOSUSPEND_TIMEOUT 2000