Fix white spaces.

This commit is contained in:
Jung-uk Kim 2013-04-23 18:30:33 +00:00
parent a1abcc4f03
commit 22989042a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249816
3 changed files with 7 additions and 7 deletions

View File

@ -324,7 +324,7 @@ hci_force_fan(ACPI_HANDLE h, int op, UINT32 *state)
ACPI_SERIAL_ASSERT(toshiba);
if (op == HCI_SET) {
if (*state > 1)
if (*state > 1)
return (EINVAL);
*state <<= HCI_FAN_SHIFT;
}
@ -368,7 +368,7 @@ hci_lcd_brightness(ACPI_HANDLE h, int op, UINT32 *brightness)
ACPI_SERIAL_ASSERT(toshiba);
if (op == HCI_SET) {
if (*brightness > HCI_LCD_BRIGHTNESS_MAX)
if (*brightness > HCI_LCD_BRIGHTNESS_MAX)
return (EINVAL);
*brightness <<= HCI_LCD_BRIGHTNESS_SHIFT;
}
@ -384,7 +384,7 @@ hci_lcd_backlight(ACPI_HANDLE h, int op, UINT32 *backlight)
ACPI_SERIAL_ASSERT(toshiba);
if (op == HCI_SET) {
if (*backlight > 1)
if (*backlight > 1)
return (EINVAL);
}
return (hci_call(h, op, HCI_REG_LCD_BACKLIGHT, backlight));
@ -397,7 +397,7 @@ hci_cpu_speed(ACPI_HANDLE h, int op, UINT32 *speed)
ACPI_SERIAL_ASSERT(toshiba);
if (op == HCI_SET) {
if (*speed > HCI_CPU_SPEED_MAX)
if (*speed > HCI_CPU_SPEED_MAX)
return (EINVAL);
*speed <<= HCI_CPU_SPEED_SHIFT;
}

View File

@ -1936,7 +1936,7 @@ int
tuner_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thread* td )
{
int tmp_int;
int temp, temp1;
int temp, temp1;
int offset;
int count;
u_char *buf;

View File

@ -512,7 +512,7 @@ void mach64_dump_ring_info(drm_mach64_private_t *dev_priv)
DRM_INFO("\n");
if (ring->head < ring->size / sizeof(u32)) {
if (ring->head < ring->size / sizeof(u32)) {
struct list_head *ptr;
u32 addr = le32_to_cpu(((u32 *) ring->start)[ring->head + 1]);
@ -1276,7 +1276,7 @@ int mach64_do_dispatch_pseudo_dma(drm_mach64_private_t *dev_priv)
entry = list_entry(ptr, drm_mach64_freelist_t, list);
buf = entry->buf;
offset = buf_addr - GETBUFADDR(buf);
if (offset < MACH64_BUFFER_SIZE) {
if (offset < MACH64_BUFFER_SIZE) {
found = 1;
break;
}