Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp133958imn; Wed, 27 Jul 2022 01:47:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vrbxDgnDRnS19G/E93xfmcrj/xN++6BqWajOPhxrWQoyQnk8VghECRaat14QLzTDr2UpGu X-Received: by 2002:a17:903:244d:b0:16d:baf3:ff07 with SMTP id l13-20020a170903244d00b0016dbaf3ff07mr49464pls.44.1658911675744; Wed, 27 Jul 2022 01:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658911675; cv=none; d=google.com; s=arc-20160816; b=nUEIoQ/epxJT7JnnrEurPOKY22fkpPHKBFuUk3NV/ENl9QT8p1KWoiSJg7C8ibLR+0 q1hEt/TeHAkH/CuCeDiDupO/hFC60SrVK2xs/kD05AnZJH1awaBHxSvkWPGwWBJui7v3 VkQNNMiIk+dcIKGWbrccYwq3VbtwaFDnC/l/zoXxn+TvA7oEqDZDib+E19UKSv5k49Nc DPhwzAaC7gsv+9WTXoDoY6ZBFcSJ7bhQBVnMsyVCagVIxN7JWgibgVc5BwwCixYbsrUy ipHGJC5tkYIIDNn9TvXTCIPzhfO0sh08Q2l685lJiXqH14vgcEfpYzxEYv3nMDZG2BpP Ubrw== 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=LkQb+pt+xrnMcUifcgJPIGgBBel8b/HhOPozVpC3vwM=; b=FPWL4Ke3ycRC+tvcjYrzRMBSUUeb5jmz+tAXF3Ufc0Lu+2p9TYsSktynm6LryatWqY La1GmYwk9w5SS/x1bGpYwuEE3/yBe+eIqOYhkrkzijTbcGdVN+J+dmgoxPZ2ak4lncEd tN3GMJ11GAT+BI2jG1gxtU8fTywpXcGE+uwIS0JYRrQBUQYHjiKgDJKKqNGx2Ftbu5Si d2P8L73P+ii+9BD2MEBDthHaGNnCJtbE2hVY/yExHC9ecd+xkSmiX93URMT6Gp93TCly MivR8fHwXuh44YFMsERkOt1jXGPxlSI4r8VcHe9ruHwvYffk7ay4Tmcg3HS5Wk+noIAC x8vg== 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 b7-20020a17090a9bc700b001f1d9ab18d5si1412769pjw.14.2022.07.27.01.47.38; Wed, 27 Jul 2022 01:47:55 -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 S230218AbiG0Icw (ORCPT + 99 others); Wed, 27 Jul 2022 04:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbiG0Icv (ORCPT ); Wed, 27 Jul 2022 04:32:51 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 58ED71F2ED; Wed, 27 Jul 2022 01:32:49 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 5AB2F1E80D89; Wed, 27 Jul 2022 16:32:56 +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 IVxWMSiBoFAM; Wed, 27 Jul 2022 16:32:53 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id BC7991E80D05; Wed, 27 Jul 2022 16:32:53 +0800 (CST) From: Li zeming To: linux-i2c@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] i2c/busses/drivers/img: Remove unnecessary (void*) conversions Date: Wed, 27 Jul 2022 16:32:39 +0800 Message-Id: <20220727083239.5396-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/i2c/busses/i2c-img-scb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-img-scb.c b/drivers/i2c/busses/i2c-img-scb.c index 8e987945ed45..d72211cfda03 100644 --- a/drivers/i2c/busses/i2c-img-scb.c +++ b/drivers/i2c/busses/i2c-img-scb.c @@ -913,7 +913,7 @@ static unsigned int img_i2c_auto(struct img_i2c *i2c, static irqreturn_t img_i2c_isr(int irq, void *dev_id) { - struct img_i2c *i2c = (struct img_i2c *)dev_id; + struct img_i2c *i2c = dev_id; u32 int_status, line_status; /* We handle transaction completion AFTER accessing registers */ unsigned int hret; -- 2.18.2