aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorNishanth Menon <[email protected]>2014-06-30 10:57:36 -0500
committerMark Brown <[email protected]>2014-07-03 15:25:55 +0100
commitcf910b6b7101dae5eabaf2249b427e7698095abd (patch)
tree133873df72d8041420962c358516038f8c6b2a81 /net/lapb/lapb_subr.c
parente7cf34ef396d6ceaa776661830d4ce332da650f0 (diff)
regulator: palmas: Simplify code by using pointer to palmas_reg_info
Palmas register information is part of the ddata pointer which is used through out the code by indexing off the driver data array. Instead, just do the indexing once and use the pointer to further reference structure fields. This simplifies code and prevents errors by accessing wrong variables. Signed-off-by: Nishanth Menon <[email protected]> Tested-by: Stephen Warren <[email protected]> Tested-by: Keerthy <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions