Re: [PATCH] drivers/regulator: fix when type is different from REGULATOR_VOLTAGE or REGULATOR_CURRENT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-04-14 at 03:04 +0200, Diego Liziero wrote:
> From: Diego Liziero <diegoliz@xxxxxxxxx>
> 
> When regulator_desc->type is something different from REGULATOR_VOLTAGE or REGULATOR_CURRENT
> the if should probably return ERR_PTR(-EINVAL)
> 
> The semantic patch that makes this change is as follows:
> (http://www.emn.fr/x-info/coccinelle/)
> 
> @@ expression E; constant C; @@
> (
> - !E == C
> + E != C
> )
> 
> Signed-off-by: Diego Liziero <diegoliz@xxxxxxxxx>
> 

Applied.

Thanks

Liam

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux