Fix white spaces.
This commit is contained in:
parent
a1abcc4f03
commit
22989042a9
@ -324,7 +324,7 @@ hci_force_fan(ACPI_HANDLE h, int op, UINT32 *state)
|
|||||||
|
|
||||||
ACPI_SERIAL_ASSERT(toshiba);
|
ACPI_SERIAL_ASSERT(toshiba);
|
||||||
if (op == HCI_SET) {
|
if (op == HCI_SET) {
|
||||||
if (*state > 1)
|
if (*state > 1)
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
*state <<= HCI_FAN_SHIFT;
|
*state <<= HCI_FAN_SHIFT;
|
||||||
}
|
}
|
||||||
@ -368,7 +368,7 @@ hci_lcd_brightness(ACPI_HANDLE h, int op, UINT32 *brightness)
|
|||||||
|
|
||||||
ACPI_SERIAL_ASSERT(toshiba);
|
ACPI_SERIAL_ASSERT(toshiba);
|
||||||
if (op == HCI_SET) {
|
if (op == HCI_SET) {
|
||||||
if (*brightness > HCI_LCD_BRIGHTNESS_MAX)
|
if (*brightness > HCI_LCD_BRIGHTNESS_MAX)
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
*brightness <<= HCI_LCD_BRIGHTNESS_SHIFT;
|
*brightness <<= HCI_LCD_BRIGHTNESS_SHIFT;
|
||||||
}
|
}
|
||||||
@ -384,7 +384,7 @@ hci_lcd_backlight(ACPI_HANDLE h, int op, UINT32 *backlight)
|
|||||||
|
|
||||||
ACPI_SERIAL_ASSERT(toshiba);
|
ACPI_SERIAL_ASSERT(toshiba);
|
||||||
if (op == HCI_SET) {
|
if (op == HCI_SET) {
|
||||||
if (*backlight > 1)
|
if (*backlight > 1)
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
}
|
}
|
||||||
return (hci_call(h, op, HCI_REG_LCD_BACKLIGHT, backlight));
|
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);
|
ACPI_SERIAL_ASSERT(toshiba);
|
||||||
if (op == HCI_SET) {
|
if (op == HCI_SET) {
|
||||||
if (*speed > HCI_CPU_SPEED_MAX)
|
if (*speed > HCI_CPU_SPEED_MAX)
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
*speed <<= HCI_CPU_SPEED_SHIFT;
|
*speed <<= HCI_CPU_SPEED_SHIFT;
|
||||||
}
|
}
|
||||||
|
@ -1936,7 +1936,7 @@ int
|
|||||||
tuner_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thread* td )
|
tuner_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thread* td )
|
||||||
{
|
{
|
||||||
int tmp_int;
|
int tmp_int;
|
||||||
int temp, temp1;
|
int temp, temp1;
|
||||||
int offset;
|
int offset;
|
||||||
int count;
|
int count;
|
||||||
u_char *buf;
|
u_char *buf;
|
||||||
|
@ -512,7 +512,7 @@ void mach64_dump_ring_info(drm_mach64_private_t *dev_priv)
|
|||||||
|
|
||||||
DRM_INFO("\n");
|
DRM_INFO("\n");
|
||||||
|
|
||||||
if (ring->head < ring->size / sizeof(u32)) {
|
if (ring->head < ring->size / sizeof(u32)) {
|
||||||
struct list_head *ptr;
|
struct list_head *ptr;
|
||||||
u32 addr = le32_to_cpu(((u32 *) ring->start)[ring->head + 1]);
|
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);
|
entry = list_entry(ptr, drm_mach64_freelist_t, list);
|
||||||
buf = entry->buf;
|
buf = entry->buf;
|
||||||
offset = buf_addr - GETBUFADDR(buf);
|
offset = buf_addr - GETBUFADDR(buf);
|
||||||
if (offset < MACH64_BUFFER_SIZE) {
|
if (offset < MACH64_BUFFER_SIZE) {
|
||||||
found = 1;
|
found = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user