From: Li zeming <zeming@nfschina.com>
To: daniel.lezcano@linaro.org, tglx@linutronix.de, matthias.bgg@gmail.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Li zeming <zeming@nfschina.com>
Subject: [PATCH] clocksource/timer-mediatek: Remove unnecessary (void*) conversions
Date: Tue, 9 Aug 2022 10:42:53 +0800 [thread overview]
Message-ID: <20220809024253.3727-1-zeming@nfschina.com> (raw)
Remove unnecessary void* type castings.
Signed-off-by: Li zeming <zeming@nfschina.com>
---
drivers/clocksource/timer-mediatek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-mediatek.c b/drivers/clocksource/timer-mediatek.c
index d5b29fd03ca2..35e08c329d8e 100644
--- a/drivers/clocksource/timer-mediatek.c
+++ b/drivers/clocksource/timer-mediatek.c
@@ -264,7 +264,7 @@ static int mtk_gpt_clkevt_next_event(unsigned long event,
static irqreturn_t mtk_gpt_interrupt(int irq, void *dev_id)
{
- struct clock_event_device *clkevt = (struct clock_event_device *)dev_id;
+ struct clock_event_device *clkevt = dev_id;
struct timer_of *to = to_timer_of(clkevt);
/* Acknowledge timer0 irq */
--
2.18.2
reply other threads:[~2022-08-09 2:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220809024253.3727-1-zeming@nfschina.com \
--to=zeming@nfschina.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®