Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp291591iog; Tue, 28 Jun 2022 23:34:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u1hyianojQorHgCCn/EIPLvyvsvrFlTdezACNU9STP/nh9kbWBbvpfE0NpSXWprKYgDqt2 X-Received: by 2002:a17:906:a245:b0:708:ce69:e38b with SMTP id bi5-20020a170906a24500b00708ce69e38bmr1772684ejb.100.1656484467479; Tue, 28 Jun 2022 23:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656484467; cv=none; d=google.com; s=arc-20160816; b=XL4Dc3QdcjVQ45UcSg71ad2hlOdJUq+jaL+NoyaWZ2wKMwJboOTkk5bcejUyYMEMTO ZGV0HuDimBaObMm0FkcRjWDJl7OooAh7drAgM6sf3BCnVKUnfU618/nuqUD7cjYoK8N/ Aj0Ug0za1FwAM42EdRqrfojmRbLpoWNdGOiDVmUtc21RMh0ugHwx/XvCY6BgoyTv2F4U 5ZNZIFhXXx6F2+3UWzPQ1Lu+sH2p2ycB75vbAOaJqU570YlUbXmt9ETNlOoSrPYDEx2g RCVaizfmC9ka7/m30Im5f00pXq7oBEDGEKkM0WmnRf0ym4L63/CVcAjzlIHkjJdwy+y8 gxSA== 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=69PrjTvFHlrmB165gQeRdjD7x7kmDCCViApDFUEkotU=; b=xGu1oxOtWGccPLEypPj/laeid5oRNWJvZ/s3mRQSOvcEaeUKpndeL6aMjej07/vCXT F+anojQEjAYVMiwIOIXZymLTqA9WTGtayRtRnp4E/A0x6wF+fgD14oEis2JaPgbhGts2 JCamqHHISPSEagm/aRPFs8wpB8By9i2KlZLPHlBqGa0uEFDuNv1ecWIGOwtY93kYzLzi Ice3Ye3ykjLhqYhvOKTkxHejdfoj9kdj3I6BY5szozowkPuB6UTyIprM2eU6Sh51TNBX fpbdaFLBTnZfkmIIHJYdDjTDxbLxb9HqoMn870hsIH6TFciyypaJqXrlHj5l6hdUC/Ra fwUg== 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 j15-20020a05640211cf00b004356df8591csi20787588edw.373.2022.06.28.23.34.01; Tue, 28 Jun 2022 23:34:27 -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 S231553AbiF2G1O (ORCPT + 99 others); Wed, 29 Jun 2022 02:27:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229809AbiF2G1N (ORCPT ); Wed, 29 Jun 2022 02:27:13 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6F24F240BF for ; Tue, 28 Jun 2022 23:27:12 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 8BAA21E80D11; Wed, 29 Jun 2022 14:26:01 +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 XFCoZU6XrfkK; Wed, 29 Jun 2022 14:25:58 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zhoujie@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id C2A681E80CDC; Wed, 29 Jun 2022 14:25:58 +0800 (CST) From: Zhou jie 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, kernel@nfschina.com, Zhou jie Subject: [PATCH] drivers: remove unnecessary (void*) conversions. Date: Wed, 29 Jun 2022 14:26:58 +0800 Message-Id: <20220629062658.56466-1-zhoujie@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,T_SCC_BODY_TEXT_LINE 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 casting. Signed-off-by: Zhou jie --- drivers/clocksource/timer-sun4i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-sun4i.c b/drivers/clocksource/timer-sun4i.c index 0ba8155b8287..6fe71f95e2c2 100644 --- a/drivers/clocksource/timer-sun4i.c +++ b/drivers/clocksource/timer-sun4i.c @@ -131,7 +131,7 @@ static void sun4i_timer_clear_interrupt(void __iomem *base) static irqreturn_t sun4i_timer_interrupt(int irq, void *dev_id) { - struct clock_event_device *evt = (struct clock_event_device *)dev_id; + struct clock_event_device *evt = dev_id; struct timer_of *to = to_timer_of(evt); sun4i_timer_clear_interrupt(timer_of_base(to)); -- 2.18.2