Re: [PATCH 1/4] misc: acpi-test: bump down debug message on remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 30, 2021 at 07:54:43PM +0200, Ahmad Fatoum wrote:
> The ACPI test driver is meant to serve as template for adding more
> useful drivers. Printing a message in remove isn't a pattern that should
> be copied, so bump the level down.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
>  drivers/misc/acpi-test.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/misc/acpi-test.c b/drivers/misc/acpi-test.c
> index 1d6814ebcf27..784c80cc5b8b 100644
> --- a/drivers/misc/acpi-test.c
> +++ b/drivers/misc/acpi-test.c
> @@ -47,7 +47,7 @@ static int acpi_test_probe(struct device_d *dev)
>  
>  static void acpi_test_remove(struct device_d *dev)
>  {
> -	dev_info(dev, "FADT driver removed\n");
> +	dev_dbg(dev, "FADT driver removed\n");
>  }
>  
>  static struct acpi_driver acpi_test_driver = {
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux