Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e76d5f7e authored by Miguel Botón's avatar Miguel Botón Committed by Len Brown
Browse files

ACPI: remove duplicated warning message



Remove duplicated warning message in acpi_power_transition()

ACPI: Transitioning device [%s] to D%d\n

This warning message is printed by acpi_bus_set_power() so we don't
need to print it again.

Signed-off-by: default avatarMiguel Botón <mboton@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 488b5ec8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -458,11 +458,9 @@ int acpi_power_transition(struct acpi_device *device, int state)
	}

     end:
	if (result) {
	if (result)
		device->power.state = ACPI_STATE_UNKNOWN;
		printk(KERN_WARNING PREFIX "Transitioning device [%s] to D%d\n",
			      device->pnp.bus_id, state);
	} else {
	else {
	/* We shouldn't change the state till all above operations succeed */
		device->power.state = state;
	}