On 19/06/14 05:13, Jeroen Hofstee wrote:
> Since p->bus is unsigned checking for negative values
> is optimized away. Since bus is already used as an argument
> use tmp. While at it, don't declare variables in the middle
> of a function.
>
> cc: Rajeshwari Shinde
> Signed-off-by: Jeroen Hofstee
Since p->bus is unsigned checking for negative values
is optimized away. Since bus is already used as an argument
use tmp. While at it, don't declare variables in the middle
of a function.
cc: Rajeshwari Shinde
Signed-off-by: Jeroen Hofstee
---
drivers/power/pmic/pmic_max77686.c | 13 --
2 matches
Mail list logo