From patchwork Thu Jul 2 06:40:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6707961 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1FDB5C05AC for ; Thu, 2 Jul 2015 06:40:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 201B22066C for ; Thu, 2 Jul 2015 06:40:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D826B20708 for ; Thu, 2 Jul 2015 06:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753211AbbGBGkS (ORCPT ); Thu, 2 Jul 2015 02:40:18 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53083 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752339AbbGBGkL (ORCPT ); Thu, 2 Jul 2015 02:40:11 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NQU01AGXL6VH2A0@mailout2.samsung.com>; Thu, 02 Jul 2015 15:40:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.113]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 53.E0.24422.7CCD4955; Thu, 2 Jul 2015 15:40:07 +0900 (KST) X-AuditID: cbfee68f-f793b6d000005f66-b7-5594dcc7a7c5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 56.91.05312.7CCD4955; Thu, 2 Jul 2015 15:40:07 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NQU000ZOL6U4HB0@mmp2.samsung.com>; Thu, 02 Jul 2015 15:40:06 +0900 (KST) From: Chanwoo Choi To: l.majewski@samsung.com, eduardo.valentin@ti.com, rui.zhang@intel.com Cc: kgene@kernel.org, k.kozlowski@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Chanwoo Choi , Eduardo Valentin Subject: [PATCH 2/2] thermal: exynos: Remove unused code related to platform_data on probe() Date: Thu, 02 Jul 2015 15:40:01 +0900 Message-id: <1435819201-30729-3-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> References: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkUPf4nSmhBltniVtc//Kc1WLN/p9M FvOvXGO1eP3C0KL/8WtmizcPNzNaXN41h83ic+8RRosZ5/cxWTx52MfmwOWxc9Zddo/Fe14y eWxa1cnm0bdlFaPH8RvbmTw+b5ILYIvisklJzcksSy3St0vgyuhY+JO1oJOzYsHKy+wNjPfZ uxg5OSQETCRaHq9ihbDFJC7cW8/WxcjFISSwlFHi7KfzcEX7ZzQzQSSmM0pcf7oNyvnCKHG8 fxoLSBWbgJbE/hc3gNo5OEQEPCQWLQ4BqWEWuMUo8fHoIrAVwgJxEud/dIHZLAKqEssPXmME sXkFXCWunznMDLFNQWLZ8plgNZwCbhK3XzSCzRcCqtl+5RcjyFAJgV3sEmdfbIAaJCDxbfIh FpDFEgKyEpsOQM2RlDi44gbLBEbhBYwMqxhFUwuSC4qT0ouM9YoTc4tL89L1kvNzNzEC4+H0 v2f9OxjvHrA+xCjAwajEw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BTq/XANetKwpYPS+PZmU23vSyRtvCd2m37uHb7fY67 +rvS7+RFlLw4/cszdl3kkbcSF6/u9Dq6rX1nzOlvMdFxGVxB9kGPpl97vma13LOJ97e7NS25 Mk+JpTgj0VCLuag4EQBpQlCkzAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes the unused code related to struct exynos_tmu_platform_data because exynos_tmu_probe() don't handle the struct exynos_tmu_platform_data *pdata. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Lukasz Majewski Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/thermal/samsung/exynos_tmu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 531f4b179871..10e46a1a4bb3 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -1296,7 +1296,6 @@ static struct thermal_zone_of_device_ops exynos_sensor_ops = { static int exynos_tmu_probe(struct platform_device *pdev) { - struct exynos_tmu_platform_data *pdata; struct exynos_tmu_data *data; int ret; @@ -1318,8 +1317,6 @@ static int exynos_tmu_probe(struct platform_device *pdev) if (ret) goto err_sensor; - pdata = data->pdata; - INIT_WORK(&data->irq_work, exynos_tmu_work); data->clk = devm_clk_get(&pdev->dev, "tmu_apbif");