[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200802151739.57751.m.kozlowski@tuxland.pl>
Date: Fri, 15 Feb 2008 17:39:56 +0100
From: Mariusz Kozlowski <m.kozlowski@...land.pl>
To: Liam Girdwood <lg@...nsource.wolfsonmicro.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.arm.linux.org.uk>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH 4/4] Voltage and current regulator framework
Hello,
> Regulator framework core :-
[ ... snip ... ]
> +void regulator_put(struct regulator *regulator)
> +{
> + struct regulator_cdev *rcdev = regulator->rcdev;
> +
> + if (regulator == NULL || IS_ERR(regulator))
> + return;
Check after use.
Regards,
Mariusz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists