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: 98227 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp39914qgf; Tue, 25 Apr 2017 14:36:03 -0700 (PDT) X-Received: by 10.36.16.130 with SMTP id 124mr3301541ity.62.1493156163437; Tue, 25 Apr 2017 14:36:03 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r85si1087866ioi.218.2017.04.25.14.36.02; Tue, 25 Apr 2017 14:36:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993809AbdDYVgB (ORCPT + 4 others); Tue, 25 Apr 2017 17:36:01 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:40189 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993799AbdDYVfz (ORCPT ); Tue, 25 Apr 2017 17:35:55 -0400 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 Cc: Masahiro Yamada , linux-samsung-soc@vger.kernel.org, Linus Walleij , linux-kernel@vger.kernel.org, Sylwester Nawrocki , Tomasz Figa , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.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> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org of_device_id::data is an opaque pointer. No explicit cast is needed. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/samsung/pinctrl-samsung.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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",