summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-05-06 00:29:49 (GMT)
committerMark Brown <broonie@kernel.org>2016-05-06 17:15:17 (GMT)
commit036d193d3337365e0d69cff9bb2593bfc1210e7b (patch)
treecff0a27bb78eb07ea041cde2655759ebe341233d /kernel/irq
parente0341f1732237777d65bdda7184ea4b11fb31d53 (diff)
downloadlinux-036d193d3337365e0d69cff9bb2593bfc1210e7b.tar.xz
regulator: tps65917/palmas: Simplify multiple dereference of ddata->palmas_matches[idx]
Converting dt to platform data logic involves picking up information that is unique per regulator, however we can improve readability of the code by dereferencing ddata->palmas_matches[idx] once in the loop. While at it fix reuse of generic palmas_matches common variable while reporting error for a specific regulator (which may be from 65917/palmas list). Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions