Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp139328imn; Wed, 27 Jul 2022 02:02:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t/V1zynuQ2fyV/SKfX5ochgi8+3ilYH9w/8duP6lVJqg7f5XWiZSMQYxNk2sZDTGGn04QL X-Received: by 2002:a17:902:aa4b:b0:15f:b2c:73c7 with SMTP id c11-20020a170902aa4b00b0015f0b2c73c7mr20733212plr.164.1658912524349; Wed, 27 Jul 2022 02:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658912524; cv=none; d=google.com; s=arc-20160816; b=YuIb1RwpJky8oaf+eNdxUVAaF9qcAwTUv8IaOpRFDISXe1TKlfSzYFNIUduC+4YYlO gkhTnQ4YkPNxlpfFfxp1z8BAjB4pKiC8s4T2fnM69a2r2vUBAvtak7SH/EGVp6+2P8aI 0b0SlFXj3eQOWIqvSRSaYT1hdUi2I77kizdL9Qa0WsQwuJ46gEt6dZC4thhXx17KrpeJ 0lQaJe2AEMzP5x+UiaGB2sHfRzNiX1UALijpG0TFQGZDKbMT/EuTolsF2z4kg6cnVtI5 UPN0SCekps4yE/ieB1y/lRTmT7XT29NjE+9lHuJmJh4d8p0kjHhWxZ+U+rOGzisyXMi3 o+FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=mmfqDvNsZlfgUJNi6qbhNR3OlqiK1FHzkjH1tV/G1n0=; b=y7KVDVzqeAN/OnYrWJsyGcIRtaEsQ+hdA/0k/605hEjpKtTSGDb7Gh36qSAsVYJ15X MmtJrG/o50XNfsDslmWXpVVcix5ZDCxC07zlvY7x5iuJoBchdEeDHusj5a3esplJ7yE2 ePjdDd/L57XRSAZndpRwjCPanWRhAErFboQsf2WdzREs2TWLXFpk5GZr6AenSJ9TJuKC Ffs44GS3klBTlx2HOWLByzhYA9pk+ilE/uxGppj4ggavb1Hdb8IvrHipcpfiYYHDh3Fx P8ginNLGnCImztWKD1gfokeE8uNisaCpei1XYEE5pIe5VrEL6C5aXsSnBi1XBAbOXjBJ aXsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170903024c00b0016c275542a9si23077701plh.102.2022.07.27.02.01.49; Wed, 27 Jul 2022 02:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbiG0IiD (ORCPT + 99 others); Wed, 27 Jul 2022 04:38:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiG0IiC (ORCPT ); Wed, 27 Jul 2022 04:38:02 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE7C4459B0 for ; Wed, 27 Jul 2022 01:38:01 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 79F3C1E80D54; Wed, 27 Jul 2022 16:38:06 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N2UwmunMFWYb; Wed, 27 Jul 2022 16:38:03 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 62C1D1E80D05; Wed, 27 Jul 2022 16:38:03 +0800 (CST) From: Li zeming To: daniel.lezcano@linaro.org, tglx@linutronix.de, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Li zeming Subject: [PATCH] clocksource/drivers/sun5i: Remove unnecessary (void*) conversions Date: Wed, 27 Jul 2022 16:37:51 +0800 Message-Id: <20220727083751.5540-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unnecessary void* type castings. Signed-off-by: Li zeming --- drivers/clocksource/timer-sun5i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index 85900f7fc69f..7d5fa9069906 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -142,7 +142,7 @@ static int sun5i_clkevt_next_event(unsigned long evt, static irqreturn_t sun5i_timer_interrupt(int irq, void *dev_id) { - struct sun5i_timer_clkevt *ce = (struct sun5i_timer_clkevt *)dev_id; + struct sun5i_timer_clkevt *ce = dev_id; writel(0x1, ce->timer.base + TIMER_IRQ_ST_REG); ce->clkevt.event_handler(&ce->clkevt); -- 2.18.2