Re: [PATCH] hwmon: (dell-smm) Add Dell Latitude 7440 to fan control whitelist

From: Guenter Roeck
Date: Fri Apr 09 2021 - 19:21:42 EST


On Tue, Mar 30, 2021 at 07:02:55PM +0200, Sebastian Oechsle wrote:
> Allow manual PWM control on Dell Latitude 7440.
>
> Signed-off-by: Sebastian Oechsle <setboolean@xxxxxxxxxx <mailto:setboolean@xxxxxxxxxx>>

This patch is corrupt, to the point where it doesn't show up in hwmon patchwork.
I just happened to find it, but I can not convince git to apply it. Please
fix the problem and resubmit.

Thanks,
Guenter

> ---
> drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index 73b9db9e3aab..2970892bed82 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1210,6 +1210,14 @@ static struct dmi_system_id i8k_whitelist_fan_control[] __initdata = {
> },
> .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
> },
> + {
> + .ident = "Dell Latitude E7440",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude E7440"),
> + },
> + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
> + },
> { }
> };
>
> --
> 2.31.1