[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D958900912E20642BCBC71664EFECE3E6DD3128165@BGMAIL02.nvidia.com>
Date: Mon, 26 Mar 2012 08:58:29 +0530
From: Venu Byravarasu <vbyravarasu@...dia.com>
To: Axel Lin <axel.lin@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: RE: [PATCH 1/2] regulator: tps65090: Use IS_ERR to check return
value of regulator_register
> rdev = regulator_register(&ri->desc, &pdev->dev,
> &tps_pdata->regulator, ri, NULL);
> - if (IS_ERR_OR_NULL(rdev)) {
> + if (IS_ERR(rdev)) {
Thanks Axel, for this patch.
Just today I saw Mark's mail and about to make this change.
Acked-by: Venu Byravarasu <vbyravarasu@...dia.com>
Powered by blists - more mailing lists