diff options
author | Frans Klaver <frans.klaver@xsens.com> | 2015-01-14 11:15:36 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-20 15:58:28 +0300 |
commit | f66472df697ed6341e2317d5c825f2d6916ae47f (patch) | |
tree | 7f275f583a2fde9ddfef359b91b16271f2d2fda4 /Kbuild | |
parent | 07d08237d3ff08c6a53c6e8496bd255176e1d68f (diff) | |
download | linux-f66472df697ed6341e2317d5c825f2d6916ae47f.tar.xz |
power: reset: ltc2952: unroll gpio_desc array
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 <frans.klaver@xsens.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions