Skip to content

Commit

Permalink
platform/x86: toshiba_haps: Change logging level from info to debug
Browse files Browse the repository at this point in the history
Two of the internal functions are printing an info message, one
whenever the HDD protection level changes, and another when the
driver receives an ACPI event.

This patch changes those two prints to debug, as that information
is more pertaining to debuging purposes.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
  • Loading branch information
Azael Avalos authored and Darren Hart committed Sep 23, 2016
1 parent 5545544 commit baae5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/toshiba_haps.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static int toshiba_haps_protection_level(acpi_handle handle, int level)
return -EIO;
}

pr_info("HDD protection level set to: %d\n", level);
pr_debug("HDD protection level set to: %d\n", level);

return 0;
}
Expand Down Expand Up @@ -141,7 +141,7 @@ static struct attribute_group haps_attr_group = {
*/
static void toshiba_haps_notify(struct acpi_device *device, u32 event)
{
pr_info("Received event: 0x%x", event);
pr_debug("Received event: 0x%x", event);

acpi_bus_generate_netlink_event(device->pnp.device_class,
dev_name(&device->dev),
Expand Down

0 comments on commit baae5f9

Please sign in to comment.