lib/intel_io: rename mmio setup functions

Makes their intent a bit clearer.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-22 22:23:04 +01:00
parent c03c6ceb29
commit 2d4656fb69
10 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ int main(int argc, char** argv)
{
uint32_t current, max;
intel_get_mmio(intel_get_pci_device());
intel_mmio_use_pci_bar(intel_get_pci_device());
current = reg_read(BLC_PWM_CPU_CTL) & BACKLIGHT_DUTY_CYCLE_MASK;
max = reg_read(BLC_PWM_PCH_CTL2) >> 16;