Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362203
b: refs/heads/master
c: da25946
h: refs/heads/master
i:
  362201: 2653532
  362199: 557eeb0
v: v3
  • Loading branch information
Rafael J. Wysocki committed Apr 1, 2013
1 parent 7114d2f commit ac7ef36
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc1a7fe8b6442a941a8af0cdcc9ff6b666707d60
refs/heads/master: da259465d7526804b21d274281fb4d60b4216c82
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ config ACPI_CUSTOM_METHOD

config ACPI_BGRT
bool "Boottime Graphics Resource Table support"
depends on EFI && X86
depends on EFI
help
This driver adds support for exposing the ACPI Boottime Graphics
Resource Table, which allows the operating system to obtain
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/acpi_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void acpi_i2c_register_devices(struct i2c_adapter *adapter)
acpi_handle handle;
acpi_status status;

handle = ACPI_HANDLE(adapter->dev.parent);
handle = ACPI_HANDLE(&adapter->dev);
if (!handle)
return;

Expand Down
13 changes: 6 additions & 7 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ module_param(latency_factor, uint, 0644);

static DEFINE_PER_CPU(struct cpuidle_device *, acpi_cpuidle_device);

static DEFINE_PER_CPU(struct acpi_processor_cx * [CPUIDLE_STATE_MAX],
acpi_cstate);
static struct acpi_processor_cx *acpi_cstate[CPUIDLE_STATE_MAX];

static int disabled_by_idle_boot_param(void)
{
Expand Down Expand Up @@ -723,7 +722,7 @@ static int acpi_idle_enter_c1(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index)
{
struct acpi_processor *pr;
struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
struct acpi_processor_cx *cx = acpi_cstate[index];

pr = __this_cpu_read(processors);

Expand All @@ -746,7 +745,7 @@ static int acpi_idle_enter_c1(struct cpuidle_device *dev,
*/
static int acpi_idle_play_dead(struct cpuidle_device *dev, int index)
{
struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
struct acpi_processor_cx *cx = acpi_cstate[index];

ACPI_FLUSH_CPU_CACHE();

Expand Down Expand Up @@ -776,7 +775,7 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index)
{
struct acpi_processor *pr;
struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
struct acpi_processor_cx *cx = acpi_cstate[index];

pr = __this_cpu_read(processors);

Expand Down Expand Up @@ -834,7 +833,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index)
{
struct acpi_processor *pr;
struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu);
struct acpi_processor_cx *cx = acpi_cstate[index];

pr = __this_cpu_read(processors);

Expand Down Expand Up @@ -961,7 +960,7 @@ static int acpi_processor_setup_cpuidle_cx(struct acpi_processor *pr,
!(acpi_gbl_FADT.flags & ACPI_FADT_C2_MP_SUPPORTED))
continue;
#endif
per_cpu(acpi_cstate[count], dev->cpu) = cx;
acpi_cstate[count] = cx;

count++;
if (count == CPUIDLE_STATE_MAX)
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/i2c/busses/i2c-designware-platdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ static int dw_i2c_probe(struct platform_device *pdev)
adap->algo = &i2c_dw_algo;
adap->dev.parent = &pdev->dev;
adap->dev.of_node = pdev->dev.of_node;
ACPI_HANDLE_SET(&adap->dev, ACPI_HANDLE(&pdev->dev));

r = i2c_add_numbered_adapter(adap);
if (r) {
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/spi/spi-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ static int pxa2xx_spi_probe(struct platform_device *pdev)

master->dev.parent = &pdev->dev;
master->dev.of_node = pdev->dev.of_node;
ACPI_HANDLE_SET(&master->dev, ACPI_HANDLE(&pdev->dev));
/* the spi->mode bits understood by this driver: */
master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ static void acpi_register_spi_devices(struct spi_master *master)
acpi_status status;
acpi_handle handle;

handle = ACPI_HANDLE(master->dev.parent);
handle = ACPI_HANDLE(&master->dev);
if (!handle)
return;

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/usb/core/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ static void usb_port_device_release(struct device *dev)
{
struct usb_port *port_dev = to_usb_port(dev);

dev_pm_qos_hide_flags(dev);
kfree(port_dev);
}

Expand Down

0 comments on commit ac7ef36

Please sign in to comment.