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

2014-09-25 Thread Johan Hovold
On Thu, Sep 25, 2014 at 05:43:16PM +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 > --- > drivers/mfd/viperboard.c | 18 +- > 1 file changed, 5 insertio

[PATCH v3 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 | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/mfd/viperboard.c b/drivers/mfd/vipe