Re: [PATCH v4 2/3] mfd: viperboard: switch to devm_ allocation

2014-09-25 Thread Johan Hovold
On Thu, Sep 25, 2014 at 06:41:36PM +0300, Octavian Purdila wrote: > Switch to using devm_ allocation to simplify the error path. Also > remove a redundant OOM error message. > > Signed-off-by: Octavian Purdila Reviewed-by: Johan Hovold > --- > drivers/mfd/viperboard.c | 23 +++

[PATCH v4 2/3] mfd: viperboard: switch to devm_ allocation

2014-09-25 Thread Octavian Purdila
Switch to using devm_ allocation to simplify the error path. Also remove a redundant OOM error message. Signed-off-by: Octavian Purdila --- drivers/mfd/viperboard.c | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/drivers/mfd/viperboard.c b/drivers/mfd