Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5437392rwb; Mon, 8 Aug 2022 19:54:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR6ZO68MSbzFmW0mKI75h7rcWqFb2JR1cWZ7kkZv8UQnWOVuQM+Gc23etNBW/xb0N4/GnZZk X-Received: by 2002:a63:1021:0:b0:41c:89f8:f4f4 with SMTP id f33-20020a631021000000b0041c89f8f4f4mr18221595pgl.416.1660013665042; Mon, 08 Aug 2022 19:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660013665; cv=none; d=google.com; s=arc-20160816; b=d/8mAjpowASprqEU665Y4fs7lgAYDeUIZbGi7I1SpOYfJI/btUpF3I29bryLyjOdGT Bn/+rlm7LSbHjbu1INQ3lhe/qKjK8YU5mtKJl6WgJrsLI+iHfaL5yCkZvPUpGov4Iz8e GMnuxDHFrye+3ewcjCLMhudWnYAX6i5o+aWcMsEkQjbLbmgcA/FfXMV9USYfrqs39lk+ dprL7C+mAsGBMV0007+fzpn/MF9DftSFOeAeohIJ8YpbzvyD8KrTK8i6lio1QN+6WnCg HPlIqSk08DAxN/IHxFNmQUSjo1B4iCKpuDBxypw4fnlgLFmTRrTFyIrIROZs5fTe2Eek hI7Q== 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=CXNfkRTv/TiICqlZbezfi5GS0yvhImERGccwjlhF0Zg=; b=zLmZdRZFCeCytQpTuKQkHWGOiNJx87Zmlo+YJPFHmOEwu3PEbCxTsMKhzj1Un98w8H TK1IJFCD+zTpcYBLkJtbHsFGd+0S2G1d7eGoTbzlcAkYC/NQ0CJeXQEU1ya5wT+/y3dU /9GQhUoA85GWQlrfQmCscoLOtMsms0pzX9tbZ3FGi+i813rRI6OtvZNRZfA4bDlhZ0Hn /stsS8X7VkGt9XqQMVumq3hB6krVgemgg0MRm11rEHOIZJGk7DWRbzRoZRqzoWmrIgN0 Hcc+wpbsS2D9sjYbSzimO68JvA6qMUNrMqR5FWlLJC1LLrtR039xe9J4XJ9J/YE4c+K/ U7+g== 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 kk9-20020a17090b4a0900b001f2c5697ba6si355641pjb.4.2022.08.08.19.54.10; Mon, 08 Aug 2022 19:54:25 -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 S230212AbiHICnB (ORCPT + 99 others); Mon, 8 Aug 2022 22:43:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbiHICm7 (ORCPT ); Mon, 8 Aug 2022 22:42:59 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 393361BEA4 for ; Mon, 8 Aug 2022 19:42:58 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 419C61E80D95; Tue, 9 Aug 2022 10:41:15 +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 qBf77Qdk2HDE; Tue, 9 Aug 2022 10:41:12 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 974601E80D77; Tue, 9 Aug 2022 10:41:12 +0800 (CST) From: Li zeming 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 Subject: [PATCH] clocksource/timer-mediatek: Remove unnecessary (void*) conversions Date: Tue, 9 Aug 2022 10:42:53 +0800 Message-Id: <20220809024253.3727-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,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 castings. Signed-off-by: Li zeming --- 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