mirror of https://github.com/xqemu/xqemu.git
hw/timer/mc146818rtc: White space clean-up
mc146818rtc.c still contains some TABs. Replace them with spaces. And while we're at it, also delete trailing whitespace in this file. Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1534419358-10932-4-git-send-email-thuth@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a3ab1dc072
commit
7cd9681b8e
|
@ -485,7 +485,7 @@ static void cmos_ioport_write(void *opaque, hwaddr addr,
|
|||
s->cmos_data[s->cmos_index] = data;
|
||||
check_update_timer(s);
|
||||
break;
|
||||
case RTC_IBM_PS2_CENTURY_BYTE:
|
||||
case RTC_IBM_PS2_CENTURY_BYTE:
|
||||
s->cmos_index = RTC_CENTURY;
|
||||
/* fall through */
|
||||
case RTC_CENTURY:
|
||||
|
@ -713,7 +713,7 @@ static uint64_t cmos_ioport_read(void *opaque, hwaddr addr,
|
|||
return 0xff;
|
||||
} else {
|
||||
switch(s->cmos_index) {
|
||||
case RTC_IBM_PS2_CENTURY_BYTE:
|
||||
case RTC_IBM_PS2_CENTURY_BYTE:
|
||||
s->cmos_index = RTC_CENTURY;
|
||||
/* fall through */
|
||||
case RTC_CENTURY:
|
||||
|
|
Loading…
Reference in New Issue