aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/platform/intel/iosf_mbi.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-06 17:29:01 +0300
committerIngo Molnar <mingo@kernel.org>2015-07-06 17:42:46 +0200
commitc3c65aa6d43f9e9f23f688848b08ffec97be893b (patch)
tree2fc286382e4dd15e1796c31b625d617320bebf98 /arch/x86/platform/intel/iosf_mbi.c
parent68872eb9b19bbd85883262a4e0927b487653816c (diff)
downloadlinux-c3c65aa6d43f9e9f23f688848b08ffec97be893b.tar.gz
linux-c3c65aa6d43f9e9f23f688848b08ffec97be893b.tar.bz2
linux-c3c65aa6d43f9e9f23f688848b08ffec97be893b.zip
x86/platform/intel/pmc_atom: Print index of device in loop
The register mapping may change from one platform to another. Thus, indices might be not the same on different platforms. The patch makes the code to print the device index dynamically at run time. The patch also changes the for loop to iterate over the map until a terminator is found. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Aubrey Li <aubrey.li@linux.intel.com> Cc: Rafael J . Wysocki <rafael.j.wysocki@intel.com> Cc: Kumar P Mahesh <mahesh.kumar.p@intel.com> Link: http://lkml.kernel.org/r/1436192944-56496-3-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform/intel/iosf_mbi.c')
0 files changed, 0 insertions, 0 deletions