Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1702116imn; Sun, 31 Jul 2022 18:40:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1um9BXwCTF0RMOfVztKtBsSZJNkkTdB15wJ5hLAUnjMGO0vvSKpczNkMs1ajMoBNpZfl7FT X-Received: by 2002:a17:906:7949:b0:72f:d5ce:c242 with SMTP id l9-20020a170906794900b0072fd5cec242mr10997501ejo.207.1659318004467; Sun, 31 Jul 2022 18:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659318004; cv=none; d=google.com; s=arc-20160816; b=yyPGrsWTulZOCoAYwhsg6j1OEWTQYJeOqV36UDyQQqt7DthS7pYnRuvb60+iZnPFej 5o9YCCD12j4Vj6HwQMj0AqE2hW59gG1e94SPFTEyl88XmtU3Wly1Vcu62xvky1UfZ9rQ F5lwyvEgycv694WUEcr4nvTznJ0U5Wo8dLkaV8bgtGfhhdOqoXnoeAzpHRUoejOZKUIS nCQY6aZ6QY9PbRx6HgMe8597j00XT3MmfB08irdFp9L2J44zofMNoYd94vsRFhcXx01v rpupHdIVSPdk+6mYH2iK2Mf5V9QnozVT7fLm1QhrEeRRiXsoOElMCyJAG7Qf2ttAU9cD 91IA== 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=HRaWYIMPHJhKm0s8oaKGeW7rz6/2RFAP47814HSbVPE=; b=d8OUwXPWkrKQZX/TTvnqC1QtJ6J8SLCAZUEMt7a+bqSLrvrw3n0NrvWrqKa89yZtXx 8cBkiwH9xNhXPkhmDDH5PUYYzqXmCYjOtHCly/1rJIQu1VFN1kDNrVhnaPV4PE3VNJ55 X/CXo1zXwdOUteU/jLydWI3qN0cPg6VKMIg8AYCTHwj08H3rFUJ4fF87tksySO21ScuP Lr1/h3AxeP+brq+RMOgwUKSQvVDYlwtZPG/iO4uZzVt68BVomQCqjnKKAdFEh+xgC84i gWHxSXkgxs66dgGHQnYW0xgzpES/ZdyyzCcw2N6X1eeKIn5KV72aMuzfJyEDEUZ1k+zw bcUw== 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 m2-20020a509302000000b0043c4912e226si9787242eda.568.2022.07.31.18.39.40; Sun, 31 Jul 2022 18:40:04 -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 S238752AbiHABdl (ORCPT + 99 others); Sun, 31 Jul 2022 21:33:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232372AbiHABdj (ORCPT ); Sun, 31 Jul 2022 21:33:39 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5AB68B868; Sun, 31 Jul 2022 18:33:38 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 7C5041E80D57; Mon, 1 Aug 2022 09:33:06 +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 yKNpttcoC4Bh; Mon, 1 Aug 2022 09:33:03 +0800 (CST) Received: from localhost.localdomain.localdomain (unknown [219.141.250.2]) (Authenticated sender: xupengfei@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id C9A511E80CEA; Mon, 1 Aug 2022 09:33:03 +0800 (CST) From: XU pengfei To: linux-i2c@vger.kernel.org Cc: linux-kernel@vger.kernel.org, XU pengfei Subject: [PATCH 1/1] i2c: busses: i2c-img-scb: remove unnecessary (void*) conversions Date: Mon, 1 Aug 2022 09:33:20 +0800 Message-Id: <20220801013319.3299-1-xupengfei@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 casting. Signed-off-by: XU pengfei --- 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