All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: W_Armin@gmx.de
Cc: linux@roeck-us.net, jdelvare@suse.com, linux-hwmon@vger.kernel.org
Subject: Re: [PATCH v2 2/2] hwmon: (dell-smm) Remove unnecessary includes
Date: Fri, 24 Sep 2021 14:05:39 +0200	[thread overview]
Message-ID: <20210924120539.mlelnybf23rhtgh6@pali> (raw)
In-Reply-To: <20210924114505.20416-3-W_Armin@gmx.de>

On Friday 24 September 2021 13:45:05 W_Armin@gmx.de wrote:
> From: Armin Wolf <W_Armin@gmx.de>
> 
> sched.h and io.h are not used anywhere in dell-smm-hwmon.c.
> 
> Signed-off-by: Armin Wolf <W_Armin@gmx.de>

Reviewed-by: Pali Rohár <pali@kernel.org>

sched.h is not used anymore as driver now calls smp_call_on_cpu() function.

> ---
>  drivers/hwmon/dell-smm-hwmon.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
> index d7d8da4a63db..30be7e5574a3 100644
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -26,8 +26,6 @@
>  #include <linux/mutex.h>
>  #include <linux/hwmon.h>
>  #include <linux/uaccess.h>
> -#include <linux/io.h>
> -#include <linux/sched.h>
>  #include <linux/ctype.h>
>  #include <linux/smp.h>
> 
> --
> 2.20.1
> 

      reply	other threads:[~2021-09-24 12:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 11:45 [PATCH v2 0/2] hwmon: (dell-smm) Support additional attributes W_Armin
2021-09-24 11:45 ` [PATCH v2 1/2] hwmon: (dell-smm) Add support for fanX_min, fanX_max and fanX_target W_Armin
2021-09-24 11:45 ` [PATCH v2 2/2] hwmon: (dell-smm) Remove unnecessary includes W_Armin
2021-09-24 12:05   ` Pali Rohár [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210924120539.mlelnybf23rhtgh6@pali \
    --to=pali@kernel.org \
    --cc=W_Armin@gmx.de \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.