Commit b2ee5283 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] ppc64: iSeries remove trailing white space

Nothing more than removing trailing white space from mf.c.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 872aef53
...@@ -9,17 +9,17 @@ ...@@ -9,17 +9,17 @@
* all partitions in the iSeries. It also provides miscellaneous low-level * all partitions in the iSeries. It also provides miscellaneous low-level
* machine facility type operations. * machine facility type operations.
* *
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
...@@ -497,7 +497,7 @@ static void ackReceived(struct IoMFLpEvent *event) ...@@ -497,7 +497,7 @@ static void ackReceived(struct IoMFLpEvent *event)
pending_event_head = pending_event_head->next; pending_event_head = pending_event_head->next;
two = pending_event_head; two = pending_event_head;
free_pending_event(oldHead); free_pending_event(oldHead);
} }
spin_unlock_irqrestore(&pending_event_spinlock, flags); spin_unlock_irqrestore(&pending_event_spinlock, flags);
/* send next waiting event */ /* send next waiting event */
...@@ -695,7 +695,7 @@ void mf_setSide(char side) ...@@ -695,7 +695,7 @@ void mf_setSide(char side)
break; break;
case 'B': newSide = 1; case 'B': newSide = 1;
break; break;
case 'C': newSide = 2; case 'C': newSide = 2;
break; break;
default: newSide = 3; default: newSide = 3;
break; break;
...@@ -959,7 +959,7 @@ int mf_getRtcTime(unsigned long *time) ...@@ -959,7 +959,7 @@ int mf_getRtcTime(unsigned long *time)
*time = mktime(year, mon, day, hour, min, sec); *time = mktime(year, mon, day, hour, min, sec);
*time += (jiffies / HZ); *time += (jiffies / HZ);
/* /*
* Now THIS is a nasty hack! * Now THIS is a nasty hack!
* It ensures that the first two calls to mf_getRtcTime get different * It ensures that the first two calls to mf_getRtcTime get different
...@@ -1020,7 +1020,7 @@ int mf_getRtc(struct rtc_time *tm) ...@@ -1020,7 +1020,7 @@ int mf_getRtc(struct rtc_time *tm)
if (year <= 69) if (year <= 69)
year += 100; year += 100;
tm->tm_sec = sec; tm->tm_sec = sec;
tm->tm_min = min; tm->tm_min = min;
tm->tm_hour = hour; tm->tm_hour = hour;
...@@ -1051,17 +1051,17 @@ int mf_setRtc(struct rtc_time * tm) ...@@ -1051,17 +1051,17 @@ int mf_setRtc(struct rtc_time * tm)
char ceTime[12] = "\x00\x00\x00\x41\x00\x00\x00\x00\x00\x00\x00\x00"; char ceTime[12] = "\x00\x00\x00\x41\x00\x00\x00\x00\x00\x00\x00\x00";
u8 day, mon, hour, min, sec, y1, y2; u8 day, mon, hour, min, sec, y1, y2;
unsigned year; unsigned year;
year = 1900 + tm->tm_year; year = 1900 + tm->tm_year;
y1 = year / 100; y1 = year / 100;
y2 = year % 100; y2 = year % 100;
sec = tm->tm_sec; sec = tm->tm_sec;
min = tm->tm_min; min = tm->tm_min;
hour = tm->tm_hour; hour = tm->tm_hour;
day = tm->tm_mday; day = tm->tm_mday;
mon = tm->tm_mon + 1; mon = tm->tm_mon + 1;
BIN_TO_BCD(sec); BIN_TO_BCD(sec);
BIN_TO_BCD(min); BIN_TO_BCD(min);
BIN_TO_BCD(hour); BIN_TO_BCD(hour);
...@@ -1077,7 +1077,7 @@ int mf_setRtc(struct rtc_time * tm) ...@@ -1077,7 +1077,7 @@ int mf_setRtc(struct rtc_time * tm)
ceTime[8] = hour; ceTime[8] = hour;
ceTime[10] = day; ceTime[10] = day;
ceTime[11] = mon; ceTime[11] = mon;
return signal_ce_msg(ceTime, NULL); return signal_ce_msg(ceTime, NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment