summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2012-11-30 05:22:12 +0000
committerStefano Babic <[email protected]>2012-12-04 09:26:54 +0100
commit77cb33bd25c97be3f5a878831cf743778e2e7dac (patch)
tree1b1c5ad24ec5102878ae029c3d4460cad327349d /include/linux
parent58bcadd9d08f680739d29e0f5f374f721023b8ca (diff)
mxs: Implement common function to setup VDDx
Implement common function to setup the VDDIO, VDDD and VDDA voltage. Right now, there are two almost identical functions to setup VDDIO and VDDD, which is prone to breakage. Pull out the differences into constant structure and pass them as an argument to the common function. Moreover, the function has almost identical loops for setting higher and lower VDDx voltage. Merge these two loops. Signed-off-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Fabio Estevam <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions