platform/x86: ideapad-laptop: use dev_{err,warn} or appropriate variant to display...
authorBarnabás Pőcze <pobrn@protonmail.com>
Wed, 3 Feb 2021 21:55:32 +0000 (21:55 +0000)
committerHans de Goede <hdegoede@redhat.com>
Thu, 4 Feb 2021 09:20:52 +0000 (10:20 +0100)
commit654324c45d8efb405466124fe954d2661bf33f69
treee29f95650fac9fb16cf4452c7a744a2e7a175a7a
parent40e0447d6f8052e241a1082bd97f8f3e40ed499d
platform/x86: ideapad-laptop: use dev_{err,warn} or appropriate variant to display log messages

Having the device name in the log message makes it easier to determine
in the context of which device the message was printed, so utilize the
appropriate variants of dev_{err,warn,...} when printing log messages.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-12-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c