From 60fd0133f5d35cc36e623bddcc6ee733040526d9 Mon Sep 17 00:00:00 2001 From: Takazumi Matsumoto Date: Mon, 14 Jan 2013 14:48:07 +0000 Subject: [PATCH] wingray-common: power: cleanup tabs Change-Id: I388df1484f07fbca61e0575d2bdbb0346cdd8a8e --- power/power_stingray.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/power/power_stingray.c b/power/power_stingray.c index cbb359a..625445a 100644 --- a/power/power_stingray.c +++ b/power/power_stingray.c @@ -120,15 +120,15 @@ static int boostpulse_open(struct stingray_power_module *stingray) { } else { if (strncmp(governor, "interactive", 11) == 0) stingray->boostpulse_fd = open(BOOSTPULSE_INTERACTIVE, O_WRONLY); - else if (strncmp(governor, "ondemand", 8) == 0) + else if (strncmp(governor, "ondemand", 8) == 0) stingray->boostpulse_fd = open(BOOSTPULSE_ONDEMAND, O_WRONLY); - if (stingray->boostpulse_fd < 0 && !stingray->boostpulse_warned) { - strerror_r(errno, buf, sizeof(buf)); - ALOGE("Error opening %s: %s\n", BOOSTPULSE_INTERACTIVE, buf); - stingray->boostpulse_warned = 1; - } else if (stingray->boostpulse_fd > 0) - ALOGD("Opened %s boostpulse interface", governor); + if (stingray->boostpulse_fd < 0 && !stingray->boostpulse_warned) { + strerror_r(errno, buf, sizeof(buf)); + ALOGE("Error opening %s: %s\n", BOOSTPULSE_INTERACTIVE, buf); + stingray->boostpulse_warned = 1; + } else if (stingray->boostpulse_fd > 0) + ALOGD("Opened %s boostpulse interface", governor); } }