[PATCH RESEND 03/13] power: reset: ltc2952: unroll gpio_desc array

2015-01-14 Thread Frans Klaver
The three gpio's used by this driver are stored in an array of pointers. This doesn't add much besides cleanups in a loop. In fact, it makes most of the usage sites harder to read. Unroll the loop, and live with the fact that cleanups become slightly larger. Signed-off-by: Frans Klaver ---

[PATCH RESEND 03/13] power: reset: ltc2952: unroll gpio_desc array

2015-01-14 Thread Frans Klaver
The three gpio's used by this driver are stored in an array of pointers. This doesn't add much besides cleanups in a loop. In fact, it makes most of the usage sites harder to read. Unroll the loop, and live with the fact that cleanups become slightly larger. Signed-off-by: Frans Klaver