i2c: Fix Kontron PLD prescaler calculation
authorMichael Brunner <mibru@gmx.de>
Fri, 26 Jul 2013 12:04:55 +0000 (14:04 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 5 Aug 2013 08:31:18 +0000 (10:31 +0200)
commit4c715661d9a2ceb12434784f10d252f353251906
treea7b703f4037f156f611bd565dcda5de94da10e74
parentd6e102f498cbcc8dd2e36721a01213f036397112
i2c: Fix Kontron PLD prescaler calculation

Add some necessary braces that have been removed during driver cleanup.
This fixes the I2C prescaler calculation.

Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-kempld.c