summaryrefslogtreecommitdiffstats
path: root/drivers/phy/broadcom
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2020-07-28 01:16:01 +0530
committerVinod Koul <vkoul@kernel.org>2020-08-23 19:39:57 +0530
commitc3e60e5a9eb9d98d80faa36d0c619c62d3545050 (patch)
tree74221f810537c112fcf770e0c7cbc5829cb22280 /drivers/phy/broadcom
parenta85643d47d111730f6ad7cf0f5736fcd4164c14b (diff)
downloadlinux-c3e60e5a9eb9d98d80faa36d0c619c62d3545050.tar.gz
linux-c3e60e5a9eb9d98d80faa36d0c619c62d3545050.tar.bz2
linux-c3e60e5a9eb9d98d80faa36d0c619c62d3545050.zip
phy: ti: am654: simplify regfield handling
regfield handling in current driver code is made complicated by having a separate regfield variable for each field which is allocated individually. This quickly gets unwieldy once number of regfields increase. Instead, use an array of regfields which are allocated in a loop. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Link: https://lore.kernel.org/r/20200727194603.44636-2-nsekhar@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/broadcom')
0 files changed, 0 insertions, 0 deletions