From patchwork Tue Apr 25 21:34:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9699781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5FE6F60224 for ; Tue, 25 Apr 2017 21:35:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E8F226E73 for ; Tue, 25 Apr 2017 21:35:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41F3C283BA; Tue, 25 Apr 2017 21:35:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BA47D26E73 for ; Tue, 25 Apr 2017 21:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+t0JTpRnZcOlKPih3vx/4A8IXwY3s4RObz36sWqxBmU=; b=gtH1wLvwpB1h3MQTo3p8Z2sOPG q6mT9Hv8eLTtZuAvwA+kFEw2+/fXcErFQcMRhqjLHq9Q9Cvn7o5KZC1LcwJOkz9fTDUw1+HGWlbku zh+UBiLkv6ZJMNoLjwckNbvFvI8/sFa4OPNbSXcomHsh20FaNGZoeykRKVl+BsjdOx7HdtYF4WYOK E9K4vZM3OW5xAAVnuo8JLIKvICnZo55KtYguPZcJM93HXFiduPZxXjbf3zge82GbLScgPa8NrM0hW WFmC160WtJKN+afrBodIxaFhwnFzY7CLzfSBU/76DG1v7AZ0ivbXL3eD/HZy823uYZjK3Gu3s+L6o 9i5x9Ryw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d387i-00017F-1m; Tue, 25 Apr 2017 21:35:50 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d387T-0000st-Cm for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2017 21:35:37 +0000 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id v3PLYTWc018516; Wed, 26 Apr 2017 06:34:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v3PLYTWc018516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1493156076; bh=rd2QErdZZp9yfO2YWTPRsy/VzWnmFW3jsMlJyTKn5r4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zk/Gow/pg4Jxe/ThEaglH6rWNua60YrhqhZiyVA5HMHk7+LsYF8HPANvoNd/AcZH2 2NQfYYYf+6QNUA1v+iJYJ+SisC+4Fqxl7WBlh+xJWfrzGr5NQB/OrmpiKYMFFzImSC t/Vaup2S3J+9ZKWYoCmQurnPY6cOy2Dcsfk0ysU79kHNH9brZppZgzXow/52MVrAD4 zL12UEdscMO+yEFppLnLNeyskolC3FdoLBKsQl3cxbJUBXgPcBxv8WNZhtV0ZCLB6b epIlLTJ1IbQbja+rZ911aJlM83IOeQ3SUUNohnThFLYNcSg5TF/GBiLze6Mzaso2vY QRItyTvfzvxIg== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Subject: [PATCH 2/2] pinctrl: samsung: remove unneeded (void *) casts in of_match_table Date: Wed, 26 Apr 2017 06:34:23 +0900 Message-Id: <1493156063-8446-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493156063-8446-1-git-send-email-yamada.masahiro@socionext.com> References: <1493156063-8446-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170425_143535_701701_C40612C8 X-CRM114-Status: UNSURE ( 7.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Linus Walleij , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Tomasz Figa , Masahiro Yamada , Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP of_device_id::data is an opaque pointer. No explicit cast is needed. Signed-off-by: Masahiro Yamada Reviewed-by: Krzysztof Kozlowski --- drivers/pinctrl/samsung/pinctrl-samsung.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index d7aa22c..3b62283 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1192,25 +1192,25 @@ static int __maybe_unused samsung_pinctrl_resume(struct device *dev) static const struct of_device_id samsung_pinctrl_dt_match[] = { #ifdef CONFIG_PINCTRL_EXYNOS { .compatible = "samsung,exynos3250-pinctrl", - .data = (void *)exynos3250_pin_ctrl }, + .data = exynos3250_pin_ctrl }, { .compatible = "samsung,exynos4210-pinctrl", - .data = (void *)exynos4210_pin_ctrl }, + .data = exynos4210_pin_ctrl }, { .compatible = "samsung,exynos4x12-pinctrl", - .data = (void *)exynos4x12_pin_ctrl }, + .data = exynos4x12_pin_ctrl }, { .compatible = "samsung,exynos5250-pinctrl", - .data = (void *)exynos5250_pin_ctrl }, + .data = exynos5250_pin_ctrl }, { .compatible = "samsung,exynos5260-pinctrl", - .data = (void *)exynos5260_pin_ctrl }, + .data = exynos5260_pin_ctrl }, { .compatible = "samsung,exynos5410-pinctrl", - .data = (void *)exynos5410_pin_ctrl }, + .data = exynos5410_pin_ctrl }, { .compatible = "samsung,exynos5420-pinctrl", - .data = (void *)exynos5420_pin_ctrl }, + .data = exynos5420_pin_ctrl }, { .compatible = "samsung,exynos5433-pinctrl", - .data = (void *)exynos5433_pin_ctrl }, + .data = exynos5433_pin_ctrl }, { .compatible = "samsung,s5pv210-pinctrl", - .data = (void *)s5pv210_pin_ctrl }, + .data = s5pv210_pin_ctrl }, { .compatible = "samsung,exynos7-pinctrl", - .data = (void *)exynos7_pin_ctrl }, + .data = exynos7_pin_ctrl }, #endif #ifdef CONFIG_PINCTRL_S3C64XX { .compatible = "samsung,s3c64xx-pinctrl",