i2c: imx: Make disable_delay a per-device variable
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 6 Apr 2009 14:27:45 +0000 (16:27 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 7 Apr 2009 09:23:34 +0000 (10:23 +0100)
commit65de394df21f8ccc61525f77b0e4ee6940a0932e
treebb8254b4ff87882ad2fafaf9d6ffcd6d679eed23
parentb486ddbc0fb8127ccf2c820cfbf0b98e6f8a4e97
i2c: imx: Make disable_delay a per-device variable

'disable_delay' was static which is wrong as it is calculated using the per-device
bus speed. This patch turns 'disable_delay' into a per-device variable.

Reported-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Darius Augulis <augulis.darius@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-imx.c