Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5661695rwb; Tue, 9 Aug 2022 01:44:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR6a3CEpDnbvHYLYm59iFphrr6bhpQgHV9r/Zip06iBbawU3LF5iweWB4MQONjoC5BctLcYW X-Received: by 2002:a17:903:32cd:b0:16f:c31:7034 with SMTP id i13-20020a17090332cd00b0016f0c317034mr22209180plr.126.1660034671290; Tue, 09 Aug 2022 01:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660034671; cv=none; d=google.com; s=arc-20160816; b=S6LCU3ZwhuiDzCEco73Ob0jire24Bt5OYsFN/VFjsPWRBENVXK3Tpmys9/EgKIudRq 1cS9DiWf86djUSsmj5B7LIa3mhHyiCu6W7mGOB2UK0s1hPYjTc9XFNVW6Hjkgqc57EXW QNq9Hx0f6zbb4iX0z9hd0LNKgzrNd72UjInL1xLPNXfrQ/VmaKRj3TxXSesZAdgHcKag j+u+eHA0LpVu8ZEQz5kEulal0NtX+5r9QzrpcZFwjmLQEAx4iOH9L/u6x2B2TAtyAdw4 k8NzjGr/aVQfQH0PqbaKuRxwqSG3J7x6lMyDDhNYMwKqOdz8XJ9KkKJa7TVeAUilBeDR 3UkA== 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=UWl7/Nf0fhxmQphKADlkwBZt7pi/2wXqEh/O+bkoYuA=; b=mmK73RxMQK1dqHRh4RJil/Y4DWNpT/lyDP1hX0IBMK+fS59TyMn8gnfIzemUSoPpx7 K2IG99MOO8CIKeFBFo3lTtgUEmbkNDFHU/XxPooQRlEYK+TLRA4Prb1ZMW6A0zpL5RYv P3SRGWPvtMC2G7nCav2ZCwG9v4HJMj3agrr6b4LHOIymWNmDUxamij9FDi0TNbYv0xpL 1R4vgWXN0QMqS/zghFGKvzVFOHhuWhR2XVZ6oJMkAiNUDtiVoMRxouzTM0rMtKTnFhS8 +MRjyfrIdTQQ/04LlKITeoPiyEyfKh4ioVCFLN9jiBehTiFbwQYcNJYs1IU8qD4s+19+ JEnw== 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 jd18-20020a170903261200b0016754f4f654si12521190plb.529.2022.08.09.01.44.17; Tue, 09 Aug 2022 01:44:31 -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 S240890AbiHIIlO (ORCPT + 99 others); Tue, 9 Aug 2022 04:41:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239203AbiHIIlL (ORCPT ); Tue, 9 Aug 2022 04:41:11 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1BA30C0A for ; Tue, 9 Aug 2022 01:41:11 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id C4FF01E80CD2; Tue, 9 Aug 2022 16:39:25 +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 WOF1J5ecP-AZ; Tue, 9 Aug 2022 16:39:23 +0800 (CST) Received: from localhost.localdomain.localdomain (unknown [219.141.250.2]) (Authenticated sender: lvqian@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id 425EB1E80CC5; Tue, 9 Aug 2022 16:39:23 +0800 (CST) From: Lv qian To: daniel.lezcano@linaro.org, tglx@linutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com Cc: linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Lv qian Subject: [PATCH] clocksource/timer-stm32: Remove unnecessary (void*) conversions Date: Tue, 9 Aug 2022 16:41:05 +0800 Message-Id: <20220809084105.3891-1-lvqian@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*) conversions Signed-off-by: Lv qian --- drivers/clocksource/timer-stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-stm32.c b/drivers/clocksource/timer-stm32.c index c9a753f96ba1..3a8bb07469a8 100644 --- a/drivers/clocksource/timer-stm32.c +++ b/drivers/clocksource/timer-stm32.c @@ -161,7 +161,7 @@ static int stm32_clock_event_set_oneshot(struct clock_event_device *clkevt) static irqreturn_t stm32_clock_event_handler(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); writel_relaxed(0, timer_of_base(to) + TIM_SR); -- 2.18.2