diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-25 23:20:29 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-07-28 11:20:48 +0200 |
commit | 137a6354305455d585fe99fe5e9949acd895b045 (patch) | |
tree | c4040ba3e9cc2da3c52d4fe703a819a2022c4b92 /mm/page_alloc.c | |
parent | regulator: Fix argument format type errors in error prints (diff) | |
download | linux-137a6354305455d585fe99fe5e9949acd895b045.tar.xz linux-137a6354305455d585fe99fe5e9949acd895b045.zip |
regulator: Fix WM831x regulator ID lookups for multiple WM831xs
With multiple wm831x devices the device IDs used for the regulators will
not always be contiguous so simply taking the modulus is not sufficient
to look up the ID, we need to reverse the way the ID is generated.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions