[PATCH] i2c: Fix Kontron PLD prescaler calculation

2013-07-26 Thread Michael Brunner
Add some necessary braces that have been removed during driver cleanup. This fixes the I2C prescaler calculation. Signed-off-by: Michael Brunner --- drivers/i2c/busses/i2c-kempld.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-kempld.c b

Re: [PATCH 3/4] gpio: Kontron PLD gpio driver

2013-04-12 Thread Michael Brunner
sually only configured generically, it is not possible to auto detect the needed configuration. Those parameters are intended to let the developer configure the chip without having to touch the driver code. You are right anyway, doing it this way might not be the best way. So if there is a good way to