From patchwork Wed Jun 26 14:46:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 167819 Delivered-To: patch@linaro.org Received: by 2002:ac9:6410:0:0:0:0:0 with SMTP id r16csp871217ock; Wed, 26 Jun 2019 07:47:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxrZiLfFMUzOmtRMUx9hThAAZ7SXSk0iQQZG7ddpTppx6M5nspv8+HQ+/Y6jVHXYpkgGu7 X-Received: by 2002:a17:90a:2305:: with SMTP id f5mr5439008pje.128.1561560476485; Wed, 26 Jun 2019 07:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561560476; cv=none; d=google.com; s=arc-20160816; b=gYVFflDHFlhkGhodgcqgolzCltnRlnmurEKEHSTKJoHB50q02m9qcGf+fc+gSAhQRX 3lQg4nqRLDUGd3iB3jeQqZAt0WNTazW1wYEjx5Rm8ewVx38pz3oojGs/z/kIjRRsUNFa r6b2BhX1OuoqLeF+E1rTOKqct1/o/X2vGevJ9W1jeZbR5tOC0UbdHr29zgR13LhiK32B lkhf2fFHock2abraPjXpvDRPvqmv8gF2jb44eBjcyViNkoXIKeFdyS3hRPjy3R6jhzd5 eE4tSa97GOzT1CYGh0I8ptAiJjXbbMsEhN9QMQxZAvs0LUX8dJCLk7YoeyUWmF9YRbiF dunQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DAchjLoGp53ThJdxxXYtoXfJ80Q4DYb4SAa6+caQEjY=; b=y87QYLjQ4hVIAZv/nHIFCqxb+z6HAh3o83rogapltJvYnU57JRec3trbJA8Zqtgk/t GXvOkFyMfzmkXVvQATyayRhv2c5t9ztSrz60Edq5G8QG2R1GzNCSR/2VEZnof1N+xNEZ yxvKdShWTb/qoyJnMVca1SG/zxpGrmXZkzp6FW2o5fmQplo+oPIn47pr9eBMuD+3GKrq Lk9DvdHbKRZo8mAZe2W/EWah0NThgXjQCLj6LF+TTwjrdMsYjCWGS23CnD0qzUW2a9M3 MXqvqrwIVqZ0lnqXUUnw5gAtDXE7kYPJcG08XPYc1gQ1oyrhF6026kDyrhjGo47UlKbz Ny8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xiqkyqpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si3596341pld.301.2019.06.26.07.47.56; Wed, 26 Jun 2019 07:47:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xiqkyqpU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728393AbfFZOry (ORCPT + 30 others); Wed, 26 Jun 2019 10:47:54 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55363 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728351AbfFZOrq (ORCPT ); Wed, 26 Jun 2019 10:47:46 -0400 Received: by mail-wm1-f67.google.com with SMTP id a15so2401249wmj.5 for ; Wed, 26 Jun 2019 07:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DAchjLoGp53ThJdxxXYtoXfJ80Q4DYb4SAa6+caQEjY=; b=xiqkyqpUMCyhR970FBfcZF49AhwK/SFedKuJ5FRBVxNPZjGphDLf8ZqY5lwbop6ozN oY3nkTgayC/91n0TSa61b4ZfKWmnist6N8thv5t4eXM1AEpYGTyiyCdsizlz4O9VBAS+ Hj+B1iw81OiFPzqLulhTnWzCm3f/PCMn+18KJzjQ3Y635qkmdvYgUEgG76MGg5Y7n4hS T0XeUfLyfUCYeVnDa9QlbkB8aoQVnDUmm+p36MizQpshTQBEQqDBozwd1wJMErJlIIba ozkF63/2/PzsdhCQQw0UGUPLWt51AWcYhblfhm90HgYMIcB5bv+AhXd+OMCfcE5I5UW0 hJlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DAchjLoGp53ThJdxxXYtoXfJ80Q4DYb4SAa6+caQEjY=; b=peKbrLP1w/VeUrrzzCqHvvNSWNwN2tV5P//GjirRGy0VRXgYyaYd/gseX3X++3UYX4 +oeerAbC9xZQdAS+6s8KD75wascUkGPGBBFn4jO55Glmw/5YxxlZLrPM50/zmpIlFpI0 aduZl399sTYD0zl7qUOLyaozfnLLCQdUj8ydCGV+2Ct7gf0Y2NVTt7pZriI0zZQ9n0Nk YcCPOr67PdrpQ+VoJXEE3Hygf+2Sl1re+Fl8UjzkuCXUqQB2I7zGQr34X9E8lNFgGSaR j7y8ucQDrpRBvvSQHQJHqeI5rSz6SZ3tuwXZHOmbqcFsVMqBw4Hyfzj3l7bRIjo27ZHh +RHA== X-Gm-Message-State: APjAAAU0sMW6MZlzuzg/JldqI9IwXdsuX84/u61pNRz3NhTTPYeZ18BR Kud97MOEszWHbno/Ho9exSPx+A== X-Received: by 2002:a05:600c:2388:: with SMTP id m8mr2884140wma.23.1561560464072; Wed, 26 Jun 2019 07:47:44 -0700 (PDT) Received: from mai.imgcgcw.net (26.92.130.77.rev.sfr.net. [77.130.92.26]) by smtp.gmail.com with ESMTPSA id h84sm2718557wmf.43.2019.06.26.07.47.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 07:47:43 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Dmitry Osipenko , Jon Hunter , Thierry Reding , Thierry Reding , linux-tegra@vger.kernel.org (open list:TEGRA ARCHITECTURE SUPPORT) Subject: [PATCH 19/25] clocksource/drivers/tegra: Drop unneeded typecasting in one place Date: Wed, 26 Jun 2019 16:46:45 +0200 Message-Id: <20190626144651.16742-19-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190626144651.16742-1-daniel.lezcano@linaro.org> References: <20190626144651.16742-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Osipenko There is no need to cast void because kernel allows to do that without a warning message from a compiler. Acked-by: Jon Hunter Signed-off-by: Dmitry Osipenko Acked-by: Thierry Reding Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/clocksource/timer-tegra.c b/drivers/clocksource/timer-tegra.c index 41257f89a216..f7a09d88dacb 100644 --- a/drivers/clocksource/timer-tegra.c +++ b/drivers/clocksource/timer-tegra.c @@ -83,7 +83,7 @@ static int tegra_timer_set_periodic(struct clock_event_device *evt) static irqreturn_t tegra_timer_isr(int irq, void *dev_id) { - struct clock_event_device *evt = (struct clock_event_device *)dev_id; + struct clock_event_device *evt = dev_id; void __iomem *reg_base = timer_of_base(to_timer_of(evt)); writel_relaxed(TIMER_PCR_INTR_CLR, reg_base + TIMER_PCR);