platform/x86: GPD pocket fan: Fix error message when temp-limits are out of range
authorHans de Goede <hdegoede@redhat.com>
Fri, 6 Mar 2020 09:17:24 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2020 08:31:31 +0000 (10:31 +0200)
commitda283f9be92435e48a0074042c6e40dd4cfca259
treea1d1eabfd3da7ef1b9aae39d80523941f8be0f1a
parent03f235a5bd3a92dad08c8a8fdf42c4f942956706
platform/x86: GPD pocket fan: Fix error message when temp-limits are out of range

commit 1d6f8c5bac93cceb2d4ac8e6331050652004d802 upstream.

Commit 1f27dbd8265d ("platform/x86: GPD pocket fan: Allow somewhat
lower/higher temperature limits") changed the module-param sanity check
to accept temperature limits between 20 and 90 degrees celcius.

But the error message printed when the module params are outside this
range was not updated. This commit updates the error message to match
the new min and max value for the temp-limits.

Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/gpd-pocket-fan.c