Re: [PATCH v2 1/7] i2c-designware: move to managed functions (devm_*)

2013-04-15 Thread Wolfram Sang
On Wed, Apr 10, 2013 at 01:36:36PM +0300, Mika Westerberg wrote: > From: Andy Shevchenko > > This makes the error handling much more simpler than open-coding everything > and in addition makes the probe function smaller and tidier. > > Signed-off-by: Andy Shevchenko > Signed-off-by: Mika Wester

[PATCH v2 1/7] i2c-designware: move to managed functions (devm_*)

2013-04-10 Thread Mika Westerberg
From: Andy Shevchenko This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller and tidier. Signed-off-by: Andy Shevchenko Signed-off-by: Mika Westerberg --- Changes to v1: - dropped redundant dev_err() after devm_iorem