Re: [PATCH] drivers: regulator: core: fix 'unused' warning

From: Mark Brown
Date: Tue Jan 26 2016 - 10:22:09 EST

On Tue, Jan 26, 2016 at 04:09:13PM +0300, Yury Norov wrote:
> Patch 9f01cd4a91 (regulator: core: introduce function to lock
> regulators and its supplies) introduces function
> regulator_lock_supply(). On my kernel it causes compile-time
> error:
> drivers/regulator/core.c: In function âregulator_lock_supplyâ:
> drivers/regulator/core.c:142:6: warning: unused variable âiâ [-Wunused-variable]

You're not seeing this in mainline...

Attachment: signature.asc
Description: PGP signature