Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752326AbbGBGk3 (ORCPT ); Thu, 2 Jul 2015 02:40:29 -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 X-AuditID: cbfee68f-f793b6d000005f66-b7-5594dcc7a7c5 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 FpDFEgKyEps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S1KzU1MLUotg+pg4OKUaGNMYivQWXqtecy81LVCbN3htM5tyhfKf63ad yZ82vFu4qXnTk6ls/yz2VLjVLCuuOxBTq/XANetKwpYPS+PZmU23vSyRtvCd2m37uHb7fY67 +rvS7+RFlLw4/cszdl3kkbcSF6/u9Dq6rX1nzOlvMdFxGVxB9kGPpl97vma13LOJ97e7NS25 Mk+JpTgj0VCLuag4EQBpQlCkzAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1371 Lines: 40 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 --- 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"); -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/