All of lore.kernel.org
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: ralf@linux-mips.org
Cc: linaro-kernel@lists.linaro.org,
	Thomas Gleixner <tglx@linutronix.de>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Hongliang Tao <taohl@lemote.com>, Huacai Chen <chenhc@lemote.com>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:MIPS" <linux-mips@linux-mips.org>,
	Michael Opdenacker <michael.opdenacker@free-electrons.com>,
	Valentin Rothberg <valentinrothberg@gmail.com>
Subject: Re: [PATCH] MIPS:loongson64:hpet: Drop the dangling 'set_mode' assignment
Date: Wed, 12 Aug 2015 15:48:45 +0530	[thread overview]
Message-ID: <20150812101845.GA20238@linux> (raw)
In-Reply-To: <45d35e38970b9c7196faa3a6892d2b5e4e6f40aa.1438851213.git.viresh.kumar@linaro.org>

On 06-08-15, 14:25, Viresh Kumar wrote:
> This should have been removed by: 604cbe1de254 ("MIPS: loongson64/timer:
> Migrate to new 'set-state' interface") commit, but it wasn't.
> 
> Remove it now.
> 
> Fixes: 604cbe1de254 ("MIPS: loongson64/timer: Migrate to new 'set-state' interface")
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> Ralf:
> 
> Not sure how it was left out in my series, but I thought it should have
> been caught by the compilers as the function hpet_set_mode doesn't exist
> today.
> 
> Either merge it with the offending commit or keep it separate.
> 
>  arch/mips/loongson64/loongson-3/hpet.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/mips/loongson64/loongson-3/hpet.c b/arch/mips/loongson64/loongson-3/hpet.c
> index 950096e8d7cd..bf9f1a77f0e5 100644
> --- a/arch/mips/loongson64/loongson-3/hpet.c
> +++ b/arch/mips/loongson64/loongson-3/hpet.c
> @@ -228,7 +228,6 @@ void __init setup_hpet_timer(void)
>  	cd->name = "hpet";
>  	cd->rating = 320;
>  	cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
> -	cd->set_mode = hpet_set_mode;
>  	cd->set_state_shutdown = hpet_set_state_shutdown;
>  	cd->set_state_periodic = hpet_set_state_periodic;
>  	cd->set_state_oneshot = hpet_set_state_oneshot;

Ping

-- 
viresh

  reply	other threads:[~2015-08-12 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06  8:55 [PATCH] MIPS:loongson64:hpet: Drop the dangling 'set_mode' assignment Viresh Kumar
2015-08-06  8:55 ` Viresh Kumar
2015-08-12 10:18 ` Viresh Kumar [this message]
2015-08-19  8:59   ` Viresh Kumar
2015-08-19 10:14     ` Ralf Baechle

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=20150812101845.GA20238@linux \
    --to=viresh.kumar@linaro.org \
    --cc=chenhc@lemote.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=michael.opdenacker@free-electrons.com \
    --cc=ralf@linux-mips.org \
    --cc=taohl@lemote.com \
    --cc=tglx@linutronix.de \
    --cc=valentinrothberg@gmail.com \
    /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.